[cxx-abi-dev] Operator co_await

David Vandevoorde daveed at edg.com
Thu Feb 11 15:43:01 UTC 2016


A proposal for coroutine support is making its way through the C++ committee.  Here is the latest public document:

	http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0057r1.pdf

It includes a new “operator co_await” that will require mangling when supported.

How about reserving the operator code “aw” for it?

I.e., once standardized or TS'd, we’d add a production to <operator-name>:

	<operator-name> ::= nw	       # new
	                ...
	                ::= aw         # co_await (unary)
	                ...


	Daveed




More information about the cxx-abi-dev mailing list