gcc/libstdc++-v3/testsuite/28_regex
Jonathan Wakely 1bc7a28f94 PR libstdc++/87061 remove pmr type aliases for COW strings
The pmr aliases for basic_string and match_results are incompatible with
the gcc4-compatible ABI because the Copy-On-Write basic_string class
doesn't support C++11 allocators.

	PR libstdc++/87061
	* include/experimental/regex [!_GLIBCXX_USE_CXX11_ABI]
	(experimental::pmr::match_results, experimental::pmr::cmatch)
	(experimental::pmr::smatch, experimental::pmr::wcmatch)
	(experimental::pmr::wsmatch): Do not declare for gcc4-compatible ABI,
	because COW strings don't support C++11 allocator model.
	* include/experimental/string [!_GLIBCXX_USE_CXX11_ABI]
	(experimental::pmr::basic_string, experimental::pmr::string)
	(experimental::pmr::u16string, experimental::pmr::u32string)
	(experimental::pmr::wstring): Likewise.
	* include/std/regex [!_GLIBCXX_USE_CXX11_ABI] (pmr::match_results)
	(pmr::cmatch, pmr::smatch, pmr::wcmatch, pmr::wsmatch): Likewise.
	* include/std/string [!_GLIBCXX_USE_CXX11_ABI] (pmr::basic_string)
	(pmr::string, pmr::u16string, pmr::u32string, pmr::wstring): Likewise.
	* testsuite/21_strings/basic_string/types/pmr_typedefs.cc: Require
	cxx11-abi.
	* testsuite/28_regex/match_results/pmr_typedefs.cc: Likewise.

From-SVN: r263791
2018-08-22 23:54:33 +01:00
..
algorithms re PR libstdc++/83601 (std::regex_replace C++14 conformance issue: escaping in SED mode) 2018-01-14 00:48:30 +00:00
basic_regex PR libstdc++/85098 add missing definitions for static constants 2018-05-18 17:14:04 +01:00
constants Update copyright years. 2018-01-03 11:03:58 +01:00
headers/regex Update copyright years. 2018-01-03 11:03:58 +01:00
iterators Update copyright years. 2018-01-03 11:03:58 +01:00
match_results PR libstdc++/87061 remove pmr type aliases for COW strings 2018-08-22 23:54:33 +01:00
regex_error Update copyright years. 2018-01-03 11:03:58 +01:00
requirements Update copyright years. 2018-01-03 11:03:58 +01:00
sub_match Optimize std::sub_match comparisons using string_view-like type 2018-07-02 21:31:11 +01:00
traits Update copyright years. 2018-01-03 11:03:58 +01:00
init-list.cc Update copyright years. 2018-01-03 11:03:58 +01:00
range_access.cc Update copyright years. 2018-01-03 11:03:58 +01:00
regression.cc Update copyright years. 2018-01-03 11:03:58 +01:00
simple_c++11.cc Update copyright years. 2018-01-03 11:03:58 +01:00