diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2016-11-15 14:33:20 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2016-11-15 14:33:20 +0000 |
commit | bf56b0b8384cfcc5142f24eeb8f837cc974f8119 (patch) | |
tree | 8cf08077d9c514a5fdd813dcdd432eccc7773295 /gcc/config.gcc | |
parent | 8b99f005cbf2fdc6968d75a13cd2c166795418b7 (diff) | |
download | gcc-bf56b0b8384cfcc5142f24eeb8f837cc974f8119.zip gcc-bf56b0b8384cfcc5142f24eeb8f837cc974f8119.tar.gz gcc-bf56b0b8384cfcc5142f24eeb8f837cc974f8119.tar.bz2 |
Add std::string constructor for substring of string_view (LWG 2742)
* doc/xml/manual/intro.xml: Document LWG 2742 status.
* doc/html/*: Regenerate.
* include/bits/basic_string.h
(basic_string(const T&, size_type, size_type, const Allocator&)): Add
constructor for substring of basic_string_view, as per LWG 2742 but
with additional constraint to fix ambiguity.
* testsuite/21_strings/basic_string/cons/char/9.cc: New test.
* testsuite/21_strings/basic_string/cons/wchar_t/9.cc: New test.
From-SVN: r242416
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions