r241372 - in /trunk/libstdc++-v3: ChangeLog inc...
ville@gcc.gnu.org
ville@gcc.gnu.org
Thu Oct 20 11:54:00 GMT 2016
Author: ville
Date: Thu Oct 20 11:54:52 2016
New Revision: 241372
URL: https://gcc.gnu.org/viewcvs?rev=241372&root=gcc&view=rev
Log:
Do the operator= SFINAE in the return type for optional,
not in the template parameters.
* include/std/optional (operator=(_Up&&)): Move SFINAE
from template parameters to the return type.
(operator=(const optional<_Up>&)): Likewise.
(operator=(optional<_Up>&&)): Likewise.
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/std/optional
More information about the Libstdc++-cvs
mailing list