aboutsummaryrefslogtreecommitdiff
path: root/libcpp/macro.c
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2020-10-20 11:18:35 +0100
committerJonathan Wakely <jwakely@redhat.com>2020-10-20 11:37:48 +0100
commit2c2278f300cdd5f3181fe7df4dd1d869a67266a9 (patch)
treead787a015636ecdd36359e7801ee45298c6128ea /libcpp/macro.c
parent8c3846e80210ba437644b5b91d9bd9c564ca565a (diff)
downloadgcc-2c2278f300cdd5f3181fe7df4dd1d869a67266a9.zip
gcc-2c2278f300cdd5f3181fe7df4dd1d869a67266a9.tar.gz
gcc-2c2278f300cdd5f3181fe7df4dd1d869a67266a9.tar.bz2
libstdc++: Remove inheritance from std::coroutine_handle<> [LWG 3460]
This removes the coroutine_handle<> base class from the primary template and the noop_coroutine_promise explicit specialization. To preserve the API various members are added, as they are no longer inherited from the base class. I've also tweaked some indentation and formatting, and replaced subclause numbers from the standard with stable names like [coroutine.handle.con]. libstdc++-v3/ChangeLog: * include/std/coroutine (coroutine_handle<_Promise>): Remove base class. Add constructors, conversions, accessors etc. as proposed for LWG 3460. (coroutine_handle<noop_coroutine_promise>): Likewise. * testsuite/18_support/coroutines/lwg3460.cc: New test.
Diffstat (limited to 'libcpp/macro.c')
0 files changed, 0 insertions, 0 deletions