Fix experimental::pmr typedefs and add tests
authorJonathan Wakely <jwakely@redhat.com>
Wed, 15 Aug 2018 19:46:25 +0000 (20:46 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 15 Aug 2018 19:46:25 +0000 (20:46 +0100)
commitb8eac4d06438eb3dfe3c7d88b4b5b16ee0f9816b
tree3ece792807a2d08e735ceead97c76aa4eaf19104
parent0c8956e09adb63362e8596548f8631a26ac7ff9b
Fix experimental::pmr typedefs and add tests

The typedefs in <experimental/regex> and <experimental/string> don't
need to be in the __cxx11 namespace, because they are only aliases and
so will have the same mangled name as the underlying types.

* include/experimental/regex: Remove begin/end macros for namespace.
* include/experimental/string: Likewise.
* testsuite/experimental/polymorphic_allocator/pmr_typedefs_deque.cc:
New test.
* testsuite/experimental/polymorphic_allocator/
pmr_typedefs_forward_list.cc: New test.
* testsuite/experimental/polymorphic_allocator/pmr_typedefs_list.cc:
New test.
* testsuite/experimental/polymorphic_allocator/pmr_typedefs_map.cc:
New test.
* testsuite/experimental/polymorphic_allocator/pmr_typedefs_match.cc:
New test.
* testsuite/experimental/polymorphic_allocator/
pmr_typedefs_multimap.cc: New test.
* testsuite/experimental/polymorphic_allocator/
pmr_typedefs_multiset.cc: New test.
* testsuite/experimental/polymorphic_allocator/pmr_typedefs_set.cc:
New test.
* testsuite/experimental/polymorphic_allocator/pmr_typedefs_string.cc:
New test.
* testsuite/experimental/polymorphic_allocator/
pmr_typedefs_unordered_map.cc: New test.
* testsuite/experimental/polymorphic_allocator/
pmr_typedefs_unordered_multimap.cc: New test.
* testsuite/experimental/polymorphic_allocator/
pmr_typedefs_unordered_multiset.cc: New test.
* testsuite/experimental/polymorphic_allocator/
pmr_typedefs_unordered_set.cc: New test.
* testsuite/experimental/polymorphic_allocator/pmr_typedefs_vector.cc:
New test.

From-SVN: r263568
17 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/include/experimental/regex
libstdc++-v3/include/experimental/string
libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_deque.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_forward_list.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_list.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_map.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_match.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_multimap.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_multiset.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_set.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_string.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_unordered_map.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_unordered_multimap.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_unordered_multiset.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_unordered_set.cc [new file with mode: 0644]
libstdc++-v3/testsuite/experimental/polymorphic_allocator/pmr_typedefs_vector.cc [new file with mode: 0644]