Add string_view support to COW std::string
authorJonathan Wakely <jwakely@redhat.com>
Fri, 13 Jan 2017 15:53:07 +0000 (15:53 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 13 Jan 2017 15:53:07 +0000 (15:53 +0000)
commit92daf2dedd1c8b0fda49ebf3b824cf251808be02
treedc889949022bb073a172eaf2cb02b87f52e84083
parent7c9560a578a06125cb30458a26605f91feb29b0d
Add string_view support to COW std::string

PR libstdc++/79075
* include/bits/basic_string.h [_GLIBCXX_USE_CXX11_ABI] (basic_string):
Make _If_sv private.
[!_GLIBCXX_USE_CXX11_ABI] (basic_string): Add member functions taking
basic_string_view arguments.

From-SVN: r244445
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/basic_string.h