gcc/libstdc++-v3/include
Jonathan Wakely e38bde5423 PR libstdc++/70483 make std::experimental::string_view fully constexpr
Backport from mainline
2017-09-12  Jonathan Wakely  <jwakely@redhat.com>

	PR libstdc++/70483
	* include/experimental/bits/string_view.tcc (basic_string_view::find)
	(basic_string_view::rfind, basic_string_view::find_first_of)
	(basic_string_view::find_last_of, basic_string_view::find_first_not_of)
	(basic_string_view::find_last_not_of): Add constexpr specifier.
	* include/experimental/string_view (basic_string_view::remove_prefix)
	(basic_string_view::remove_suffix, basic_string_view::swap)
	(basic_string_view::compare, basic_string_view::find)
	(basic_string_view::rfind, basic_string_view::find_first_of)
	(basic_string_view::find_last_of, basic_string_view::find_first_not_of)
	(basic_string_view::find_last_not_of, operator==, operator!=)
	(operator<, operator>, operator<=, operator>=): Likewise.
	* testsuite/experimental/string_view/operations/compare/char/70483.cc:
	New.

From-SVN: r252032
2017-09-12 17:27:14 +01:00
..
backward Update copyright years. 2017-01-01 13:07:43 +01:00
bits PR libstdc++/70483 make std::string_view fully constexpr 2017-09-12 17:27:09 +01:00
c Update copyright years. 2017-01-01 13:07:43 +01:00
c_compatibility Update copyright years. 2017-01-01 13:07:43 +01:00
c_global Define std::byte for C++17 (P0298R3) 2017-03-09 15:42:02 +00:00
c_std Update copyright years. 2017-01-01 13:07:43 +01:00
debug Add deduction guides for C++17 (P0433R2, partial) 2017-03-22 15:58:35 +00:00
decimal Update copyright years. 2017-01-01 13:07:43 +01:00
experimental PR libstdc++/70483 make std::experimental::string_view fully constexpr 2017-09-12 17:27:14 +01:00
ext PR c++/82039 suppress -Wzero-as-null-pointer-constant warning 2017-09-04 13:24:57 +01:00
parallel Update copyright years. 2017-01-01 13:07:43 +01:00
precompiled Update copyright years. 2017-01-01 13:07:43 +01:00
profile Remove unused include from Profile Mode header 2017-01-13 17:20:23 +00:00
std PR libstdc++/70483 make std::string_view fully constexpr 2017-09-12 17:27:09 +01:00
tr1 PR libstdc++/70607 revert recent changes to <tr1/complex> 2017-01-26 19:40:02 +00:00
tr2 Update copyright years. 2017-01-01 13:07:43 +01:00
Makefile.am Implement std::experimental::source_location (N4519) 2017-07-25 19:05:07 +01:00
Makefile.in Implement std::experimental::source_location (N4519) 2017-07-25 19:05:07 +01:00