Get <experimental/coroutine> working in C++03.
authorEric Fiselier <eric@efcs.ca>
Fri, 26 May 2017 03:02:54 +0000 (03:02 +0000)
committerEric Fiselier <eric@efcs.ca>
Fri, 26 May 2017 03:02:54 +0000 (03:02 +0000)
commit997a391466504e5d40929b6e8af88a054f44ab3d
treed04b5b9bcbcb91f606dbd3151ff32a9029903cee
parenta911cb4ec81fade856c2f4194129b1e267e8329e
Get <experimental/coroutine> working in C++03.

Clang supports coroutines in all dialects; Therefore libc++ should too,
otherwise the Clang extension is unusable.

I'm not convinced extending support to C++03 is a feasible long term
plan, since as the library grows to offer things like generators it
will be come increasingly difficult to limit the implementation to C++03.

However for the time being supporting C++03 isn't a big deal.

llvm-svn: 303963
libcxx/include/experimental/coroutine
libcxx/test/libcxx/experimental/language.support/support.coroutines/dialect_support.sh.cpp [new file with mode: 0644]