[v3 PATCH] Initial implementation of std::any.

Ville Voutilainen ville.voutilainen@gmail.com
Wed Jul 6 21:57:00 GMT 2016


Tested on Linux-x64.

2016-07-07  Ville Voutilainen  <ville.voutilainen@gmail.com>

    Implement std::any. This is not yet a C++17-conforming implementation,
    but just a copy of std::experimental::any with the proper namespace
    and C++17 flagging. Proper conformance to C++17 will follow.
    * 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: std_any.diff.gz
Type: application/x-gzip
Size: 6283 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20160706/0a17cba2/attachment.bin>


More information about the Libstdc++ mailing list