gcc/libstdc++-v3
Ville Voutilainen 1725d05d19 Make any's copy assignment operator exception-safe,
don't copy the underlying value when any is moved,
make in_place constructors explicit.
* include/std/any (any(in_place_type_t<_ValueType>, _Args&&...)):
Make explicit.
(any(in_place_type_t<_ValueType>, initializer_list<_Up>, _Args&&...)):
Likewise.
(operator=(const any&)): Make strongly exception-safe.
(operator=(any&&)): reset() unconditionally in the case where
rhs has a value.
(operator=(_ValueType&&)): Indent the return type.
(_Manager_internal<_Tp>::_S_manage): Move in _Op_xfer, don't copy.
* testsuite/20_util/any/assign/2.cc: Adjust.
* testsuite/20_util/any/assign/exception.cc: New.
* testsuite/20_util/any/cons/2.cc: Adjust.
* testsuite/20_util/any/cons/explicit.cc: New.
* testsuite/20_util/any/misc/any_cast_neg.cc: Ajust.

From-SVN: r240951
2016-10-11 01:08:58 +03:00
..
config Fix libstdc++ versioned namespace build 2016-10-03 15:35:28 +01:00
doc Update docs on libstdc++ source-code layout 2016-10-10 19:57:15 +01:00
include Make any's copy assignment operator exception-safe, 2016-10-11 01:08:58 +03:00
libsupc++ Use noexcept instead of _GLIBCXX_USE_NOEXCEPT 2016-10-10 19:32:40 +01:00
po Disable .gnu.attributes tags in compatibility-ldbl.o 2016-09-29 07:33:17 +09:30
python Disable .gnu.attributes tags in compatibility-ldbl.o 2016-09-29 07:33:17 +09:30
scripts Add -fno-show-column to libstdc++ test flags 2016-08-02 20:34:15 +01:00
src shared_ptr.cc (mask, [...]): Move declaration... 2016-10-03 20:23:13 +00:00
testsuite Make any's copy assignment operator exception-safe, 2016-10-11 01:08:58 +03:00
acinclude.m4 libstdc++/77795 Only declare ::gets for C++98 and C++11 2016-09-30 19:28:53 +01:00
aclocal.m4 libstdc++: Bump to automake 1.11.6 2015-05-13 10:51:03 +00:00
ChangeLog Make any's copy assignment operator exception-safe, 2016-10-11 01:08:58 +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 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
config.h.in libstdc++/77795 Only declare ::gets for C++98 and C++11 2016-09-30 19:28:53 +01:00
configure libstdc++/77795 Only declare ::gets for C++98 and C++11 2016-09-30 19:28:53 +01:00
configure.ac Disable .gnu.attributes tags in compatibility-ldbl.o 2016-09-29 07:33:17 +09:30
configure.host [RTEMS] Always use atomic builtins for libstdc++ 2016-09-23 06:58:00 +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
Makefile.am Update copyright years. 2016-01-04 15:30:50 +01:00
Makefile.in Disable .gnu.attributes tags in compatibility-ldbl.o 2016-09-29 07:33:17 +09:30
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.