diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2017-09-12 14:31:20 +0100 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2017-09-12 14:31:20 +0100 |
commit | 2be7a166a93dd2e520476235df013e2900c283c9 (patch) | |
tree | f41c5910e09863c400746a60205e2fd4477ee978 /gcc/c/c-decl.c | |
parent | c43f427972be6aecd3c85b854cdf601feb816316 (diff) | |
download | gcc-2be7a166a93dd2e520476235df013e2900c283c9.zip gcc-2be7a166a93dd2e520476235df013e2900c283c9.tar.gz gcc-2be7a166a93dd2e520476235df013e2900c283c9.tar.bz2 |
PR libstdc++/70483 make std::experimental::string_view fully constexpr
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: r252017
Diffstat (limited to 'gcc/c/c-decl.c')
0 files changed, 0 insertions, 0 deletions