This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ 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]

[patch] Implement N3670, std::get<T> for tuples and pairs


        * include/std/tuple (get): Implement N3670.
        * include/std/utility (get): Likewise.
        * testsuite/20_util/pair/get.cc: Move to ...
        * testsuite/20_util/pair/astuple/get.cc: Here.
        * testsuite/20_util/pair/astuple/astuple.cc: New.
        * testsuite/20_util/pair/astuple/constexpr_get.cc: New.
        * testsuite/20_util/pair/astuple/constexpr_get_by_type.cc: New.
        * testsuite/20_util/pair/astuple/get_by_type.cc: New.
        * testsuite/20_util/pair/astuple/get_by_type_neg.cc: New.
        * testsuite/20_util/pair/astuple/get_neg.cc: New.
        * testsuite/20_util/tuple/element_access/constexpr_get_by_type.cc: New.
        * testsuite/20_util/tuple/element_access/get2_by_type.cc: New.
        * testsuite/20_util/tuple/element_access/get_by_type.cc: New.

Tested x86_64-linux, committed to trunk.

Attachment: patch.txt
Description: Text document


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