gcc/libstdc++-v3/include
Ville Voutilainen b641f833ba re PR libstdc++/77288 (Std::experimental::optional::operator= implementation is broken in gcc 6.1)
PR libstdc++/77288
	* include/std/optional (__is_optional_impl, __is_optional): Remove.
	(__converts_from_optional, __assigns_from_optional): New.
	(optional(_Up&&)): Use is_same instead of __is_optional.
	(optional(const optional<_Up>&)): Constrain with
	__converts_from_optional.
	(optional(optional<_Up>&&)): Likewise.
	(operator=(_Up&&)): Use is_same instead of __is_optional, check
	is_same and is_scalar.
	(operator=(const optional<_Up>&)): Constrain with
	__converts_from_optional and __assigns_from_optional.
	(operator=(optional<_Up>&&)): Likewise.
	* testsuite/20_util/optional/77288.cc: New.
	* testsuite/20_util/optional/cons/value.cc: Adjust.

From-SVN: r240324
2016-09-21 20:37:17 +03:00
..
backward
bits re PR libstdc++/77537 (pair constructors do not properly SFINAE) 2016-09-21 19:48:35 +03:00
c
c_compatibility
c_global Enable Mathematical Special Functions for C++17 2016-08-03 16:54:13 +01:00
c_std
debug Add C++17 constexpr to debug and profile mode arrays 2016-08-23 16:54:57 +01:00
decimal
experimental Define std::not_fn for C++17 2016-08-19 16:42:34 +01:00
ext
parallel
precompiled
profile Add C++17 constexpr to debug and profile mode arrays 2016-08-23 16:54:57 +01:00
std re PR libstdc++/77288 (Std::experimental::optional::operator= implementation is broken in gcc 6.1) 2016-09-21 20:37:17 +03:00
tr1 Enable Mathematical Special Functions for C++17 2016-08-03 16:54:13 +01:00
tr2
Makefile.am libstdc++/68297 avoid throw/catch in make_exception_ptr 2016-08-22 18:29:31 +01:00
Makefile.in libstdc++/68297 avoid throw/catch in make_exception_ptr 2016-08-22 18:29:31 +01:00