gcc/libstdc++-v3
Ville Voutilainen 5c578ae434 Implement LWG 2744 and LWG 2754.
* include/std/any (any(ValueType&&)): Constrain with __is_in_place_type.
	(any(in_place_type_t<_ValueType>, _Args&&...)): Use _Decay.
	(any(in_place_type_t<_ValueType>, initializer_list<_Up>, _Args&&...)):
	Likewise.
	(emplace(_Args&&...)): Likewise.
	(emplace(initializer_list<_Up>, _Args&&...)): Likewise.
	* include/std/utility: (__is_in_place_type_impl): New.
	(__is_in_place_type): Likewise.
	* testsuite/20_util/any/assign/emplace.cc: Add tests for decaying
	emplace.
	* testsuite/20_util/any/cons/in_place.cc: Add tests for decaying
	in_place constructor.
	* testsuite/20_util/any/misc/any_cast_neg.cc: Adjust.
	* testsuite/20_util/any/requirements.cc: Add a test for
	in_place-constructing a non-default-constructible type.

From-SVN: r239482
2016-08-15 18:06:09 +03:00
..
config Update Solaris baselines 2016-08-02 11:18:44 +00:00
doc Update C++17 library status table 2016-08-06 13:45:58 +01:00
include Implement LWG 2744 and LWG 2754. 2016-08-15 18:06:09 +03:00
libsupc++ Use static pointer to member when catching nullptr 2016-07-20 19:21:48 +01:00
po Update copyright years. 2016-01-04 15:30:50 +01:00
python Update copyright years. 2016-01-04 15:30:50 +01:00
scripts Add -fno-show-column to libstdc++ test flags 2016-08-02 20:34:15 +01:00
src ops.cc: Always include ostream and ext/stdio_filebuf.h. 2016-08-15 13:40:37 +02:00
testsuite Implement LWG 2744 and LWG 2754. 2016-08-15 18:06:09 +03:00
ChangeLog Implement LWG 2744 and LWG 2754. 2016-08-15 18:06:09 +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-2013: Correct an old entry. 2014-05-26 23:49:19 +02:00
ChangeLog-2014 Rotate libstdc++-v3/ChangeLog 2015-01-02 16:50:36 +00:00
ChangeLog-2015 Update copyright years. 2016-01-04 15:30:50 +01:00
Makefile.am Update copyright years. 2016-01-04 15:30:50 +01:00
Makefile.in libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00:00
README
acinclude.m4 New libstdc++ symbol version for new basic_string symbols 2016-07-29 11:42:17 +01:00
aclocal.m4 libstdc++: Bump to automake 1.11.6 2015-05-13 10:51:03 +00:00
config.h.in Fix configure test for sendfile() 2016-05-25 17:13:52 +01:00
configure New libstdc++ symbol version for new basic_string symbols 2016-07-29 11:42:17 +01:00
configure.ac libstdc++: Make certain exceptions transaction_safe. 2016-01-15 22:42:41 +00:00
configure.host remove mep-* support 2016-06-21 21:57:49 +00:00
crossconfig.m4 remove knetbsd support 2016-06-21 21:57:30 +00:00
fragment.am libstdc++-v3/fragment.am (AM_CPPFLAGS): Add CPPFLAGS 2015-07-24 07:05:19 +00:00
linkage.m4

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.