gcc/libstdc++-v3
Ville Voutilainen 6254952346 Implement LWG 2769, Redundant const in the return type of any_cast(const any&).
Implement LWG 2769, Redundant const in the return type of
any_cast(const any&).
* include/std/any (_AnyCast): New.
(any_cast(const any&)): Use it and add an explicit cast for return.
(any_cast(any&)): Likewise.
(any_cast(any&&)): Likewise.
* testsuite/20_util/any/misc/any_cast.cc: Add a test for a type
that has an explicit copy constructor.
*testsuite/20_util/any/misc/any_cast_neg.cc: Adjust.

From-SVN: r243739
2016-12-16 13:34:45 +02:00
..
config baseline_symbols.txt: Regenerate. 2016-12-03 16:10:43 +00:00
doc PR71856 try to fix Parallel Mode assertions again 2016-12-08 12:08:14 +00:00
include Implement LWG 2769, Redundant const in the return type of any_cast(const any&). 2016-12-16 13:34:45 +02:00
libsupc++ PR 59406 note that FNV hash functions are incorrect 2016-11-15 20:17:39 +00:00
po
python PR59170 make pretty printers check for singular iterators 2016-12-15 14:13:36 +00:00
scripts
src Add #ifdef case for 16 bits in cow-stdexcept.cc 2016-12-06 17:58:10 +00:00
testsuite Implement LWG 2769, Redundant const in the return type of any_cast(const any&). 2016-12-16 13:34:45 +02:00
acinclude.m4 Don't define libstdc++-internal macros in Solaris 10+ <math.h> 2016-11-21 16:09:47 +00:00
aclocal.m4
ChangeLog Implement LWG 2769, Redundant const in the return type of any_cast(const any&). 2016-12-16 13:34:45 +02: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 Don't define libstdc++-internal macros in Solaris 10+ <math.h> 2016-11-21 16:09:47 +00:00
configure Enable libstdc++ compilation on AVR targets 2016-12-06 17:58:05 +00:00
configure.ac
configure.host
crossconfig.m4 Enable libstdc++ compilation on AVR targets 2016-12-06 17:58:05 +00:00
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.