asynchronous - Do all C++ compilers support the async/await keywords? -


i want use async/await syntax in c++ (ue4 framework), due cross-platform code not sure possible... or possible? if yes, how can use it?

and there await , __await (resumable, yield , __yield_value also) keywords highlighted in visual studio. what's difference? maybe not compilers supports keywords or supports separately?

gcc, clang accepts it? or not accepts , can use macros each platform individually.

async , await language extensions proposed microsoft several revisions, current n4134. has not yet accepted standard.

the proposal opposed many http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/p0158r0.html due not being baked , having not been explored in ts , there's competing proposals n3985 proposes coroutines can implemented within existing language standard.

to knowledge, compiler supports async/await ms visual studio.

as update, clang 5.0 has support current draft co-routines proposal https://isocpp.org/files/papers/n4663.pdf has been accepted ts , progressing eye toward c++20 standard.


Comments

Popular posts from this blog

mysql - Dreamhost PyCharm Django Python 3 Launching a Site -

java - Sending SMS with SMSLib and Web Services -

python 3.5 - Pyqtgraph string in x tick -