gcc/libstdc++-v3
Jonathan Wakely 0ec78a9369 PR libstdc++/86874 fix std::variant::swap regression
PR libstdc++/86874
	* include/std/variant (_Copy_ctor_base::_M_destructive_move): Define
	here instead of in _Move_assign_base.
	(_Copy_ctor_base<true, _Types...>::_M_destructive_move): Define.
	(_Copy_assign_base::operator=): Use _M_destructive_move when changing
	the contained value to another alternative.
	(_Move_assign_base::operator=): Likewise.
	(_Move_assign_base::_M_destructive_move): Remove.
	* testsuite/20_util/variant/86874.cc: New test.

From-SVN: r263365
2018-08-07 20:13:26 +01:00
..
config Define monotonic_buffer_resource members out-of-line 2018-08-07 12:31:16 +01:00
doc Improve libstdc++ docs w.r.t newer C++ standards 2018-07-31 16:02:32 +01:00
include PR libstdc++/86874 fix std::variant::swap regression 2018-08-07 20:13:26 +01:00
libsupc++ PR libstdc++/86861 Meet precondition for Solaris memalign 2018-08-07 17:10:29 +01:00
po PR libstdc++/86450 use -Wabi=2 and simplify -Werror use 2018-07-17 14:18:47 +01:00
python PR libstdc++/86751 default assignment operators for std::pair 2018-07-31 23:31:20 +01:00
scripts * scripts/create_testsuite_files: Fix typo in comment. 2018-07-16 18:42:20 +01:00
src Define monotonic_buffer_resource members out-of-line 2018-08-07 12:31:16 +01:00
testsuite PR libstdc++/86874 fix std::variant::swap regression 2018-08-07 20:13:26 +01:00
ChangeLog PR libstdc++/86874 fix std::variant::swap regression 2018-08-07 20:13:26 +01: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
ChangeLog-2016
ChangeLog-2017
Makefile.am
Makefile.in PR libstdc++/86450 use -Wabi=2 and simplify -Werror use 2018-07-17 14:18:47 +01:00
README
acinclude.m4 Add new src/c++17 directory to list in acinclude.m4 2018-07-25 12:01:39 +01:00
aclocal.m4
config.h.in Fix bootstrap failure for bare metal due to autoconf link tests 2018-06-18 17:01:24 +01:00
configure Add -D_GLIBCXX_ASSERTIONS to DEBUG_FLAGS 2018-08-01 20:52:46 +01:00
configure.ac Add -D_GLIBCXX_ASSERTIONS to DEBUG_FLAGS 2018-08-01 20:52:46 +01:00
configure.host
crossconfig.m4 crossconfig.m4: Handle OpenBSD just like NetBSD. 2018-06-18 11:28:53 -06:00
fragment.am PR libstdc++/86450 use -Wabi=2 and simplify -Werror use 2018-07-17 14:18:47 +01: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.