r278097 - in /branches/c++-coroutines: ChangeLo...
iains@gcc.gnu.org
iains@gcc.gnu.org
Tue Nov 12 16:00:00 GMT 2019
Author: iains
Date: Tue Nov 12 16:00:49 2019
New Revision: 278097
URL: https://gcc.gnu.org/viewcvs?rev=278097&root=gcc&view=rev
Log:
c++-coroutines - Use spaceship in coroutines header.
The (n4835) CD removes the regular comparisons in the coroutine header and
replaces them with the three-way comparison. We don't want to do that
unconditionally, since we support using coroutines with c++14 etc.
This makes the use of the spaceship operator conditional on the same
cases that the <compare> header uses.
2019-11-12 Iain Sandoe <iain@sandoe.co.uk>
libstdc++-v3/
* include/experimental/coroutine: Adjust to use spaceship operator
when it's available.
Modified:
branches/c++-coroutines/libstdc++-v3/include/experimental/coroutine
Changes in other areas also in this revision:
Modified:
branches/c++-coroutines/ChangeLog.coroutines
More information about the Libstdc++-cvs
mailing list