This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Attachment: std_any.diff.gz
Description: GNU Zip compressed data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]