Implement std::any.
authorVille Voutilainen <ville.voutilainen@gmail.com>
Wed, 6 Jul 2016 22:33:20 +0000 (01:33 +0300)
committerVille Voutilainen <ville@gcc.gnu.org>
Wed, 6 Jul 2016 22:33:20 +0000 (01:33 +0300)
commit52e862219926fb800c55cdf36cb2e18ac4555dac
tree4fdabdf30ff8dfc905278982ff067b7da634456b
parent3042e708510cd4cce1c8faae7883a87ce3e12575
Implement std::any.

* include/Makefile.am: Add any and c++17_warning.h to exported headers.
* include/Makefile.in: Likewise.
* include/std/any: New.
* testsuite/20_util/any/assign/1.cc: Likewise.
* testsuite/20_util/any/assign/2.cc: Likewise.
* testsuite/20_util/any/assign/self.cc: Likewise.
* testsuite/20_util/any/cons/1.cc: Likewise.
* testsuite/20_util/any/cons/2.cc: Likewise.
* testsuite/20_util/any/cons/aligned.cc: Likewise.
* testsuite/20_util/any/cons/nontrivial.cc: Likewise.
* testsuite/20_util/any/misc/any_cast.cc: Likewise.
* testsuite/20_util/any/misc/any_cast_neg.cc: Likewise.
* testsuite/20_util/any/misc/any_cast_no_rtti.cc: Likewise.
* testsuite/20_util/any/misc/swap.cc: Likewise.
* testsuite/20_util/any/modifiers/1.cc: Likewise.
* testsuite/20_util/any/observers/type.cc: Likewise.
* testsuite/20_util/any/typedefs.cc: Likewise.

From-SVN: r238061
18 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/Makefile.am
libstdc++-v3/include/Makefile.in
libstdc++-v3/include/std/any [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/any/assign/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/any/assign/2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/any/assign/self.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/any/cons/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/any/cons/2.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/any/cons/aligned.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/any/cons/nontrivial.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/any/misc/any_cast.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/any/misc/any_cast_neg.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/any/misc/any_cast_no_rtti.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/any/misc/swap.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/any/modifiers/1.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/any/observers/type.cc [new file with mode: 0644]
libstdc++-v3/testsuite/20_util/any/typedefs.cc [new file with mode: 0644]