gcc/libstdc++-v3
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
..
config * config/abi/pre/gnu.ver: Use [jmy] for size_t. 2016-09-12 14:20:46 -04:00
doc Fix typo in Libstdc++ Profile Mode docs 2016-09-16 23:09:15 +01:00
include re PR libstdc++/77288 (Std::experimental::optional::operator= implementation is broken in gcc 6.1) 2016-09-21 20:37:17 +03:00
libsupc++ Replace modulus with mask operation in over-aligned new 2016-09-16 19:09:14 +01:00
po
python Replace casts with floordiv operator in Python xmethods 2016-09-20 10:57:02 +01:00
scripts
src
testsuite re PR libstdc++/77288 (Std::experimental::optional::operator= implementation is broken in gcc 6.1) 2016-09-21 20:37:17 +03:00
acinclude.m4 Use setrlimit for testing libstdc++ in cross toolchains 2016-09-02 13:42:55 +00:00
aclocal.m4
ChangeLog re PR libstdc++/77288 (Std::experimental::optional::operator= implementation is broken in gcc 6.1) 2016-09-21 20:37:17 +03:00
ChangeLog-1998
ChangeLog-1999
ChangeLog-2000
ChangeLog-2001
ChangeLog-2002
ChangeLog-2003
ChangeLog-2004
ChangeLog-2005
ChangeLog-2006
ChangeLog-2007
ChangeLog-2008
ChangeLog-2009
ChangeLog-2010
ChangeLog-2011
ChangeLog-2012
ChangeLog-2013
ChangeLog-2014
ChangeLog-2015
config.h.in Implement P0035R4, C++17 new of over-aligned types. 2016-09-09 17:22:15 -04:00
configure Implement P0035R4, C++17 new of over-aligned types. 2016-09-09 17:22:15 -04:00
configure.ac Implement P0035R4, C++17 new of over-aligned types. 2016-09-09 17:22:15 -04:00
configure.host
crossconfig.m4
fragment.am
linkage.m4
Makefile.am
Makefile.in
README

file: libstdc++-v3/README

New users may wish to point their web browsers to the file
index.html in the 'doc/html' subdirectory.  It contains brief
building instructions and notes on how to configure the library in
interesting ways.