[patch] libstdc++/61374 fix string_view conversion and update to latest draft
Jonathan Wakely
jwakely@redhat.com
Mon Aug 4 18:51:00 GMT 2014
On 01/06/14 18:24 +0100, Jonathan Wakely wrote:
>Tested x86_64-linux, committed to trunk.
>
>This should probably go on the 4.9 branch too, although we could leave
>the old default cosntructor semantics and just fix the conversion
>operator.
Now committed to the 4.9 branch too.
> PR libstdc++/61374
> * include/experimental/string_view (operator basic_string): Correct
> order of arguments.
> (to_string): Replace with member function.
> Add inline specifiers. Remove unused header. Remove _S_empty_rep and
> allow _M_str to be null.
> * testsuite/experimental/string_view/cons/char/1.cc: Adjust to new
> default constructor semantics.
> * testsuite/experimental/string_view/cons/wchar_t/1.cc: Likewise.
> * testsuite/experimental/string_view/operations/copy/char/1.cc: Fix
> copyright dates. Remove unused header.
> * testsuite/experimental/string_view/operations/copy/wchar_t/1.cc:
> Likewise.
> * testsuite/experimental/string_view/operations/data/char/1.cc:
> Fix copyright dates. Adjust to new default constructor semantics.
> * testsuite/experimental/string_view/operations/data/wchar_t/1.cc:
> Likewise.
> * testsuite/experimental/string_view/operations/to_string/1.cc: New.
More information about the Libstdc++
mailing list