diff options
author | Ville Voutilainen <ville.voutilainen@gmail.com> | 2016-10-20 14:54:52 +0300 |
---|---|---|
committer | Ville Voutilainen <ville@gcc.gnu.org> | 2016-10-20 14:54:52 +0300 |
commit | f320e6a09193654596cd347fae835e85b458f94c (patch) | |
tree | e918f7173f1a80275990376780df8b568e73df2c /gcc | |
parent | 88b3e631506a51e5e1ae04224efe0b5ac5f7d0ca (diff) | |
download | gcc-f320e6a09193654596cd347fae835e85b458f94c.zip gcc-f320e6a09193654596cd347fae835e85b458f94c.tar.gz gcc-f320e6a09193654596cd347fae835e85b458f94c.tar.bz2 |
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.
From-SVN: r241372
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions