r241658 - in /trunk/libstdc++-v3: ChangeLog inc...
redi@gcc.gnu.org
redi@gcc.gnu.org
Fri Oct 28 18:48:00 GMT 2016
Author: redi
Date: Fri Oct 28 18:48:43 2016
New Revision: 241658
URL: https://gcc.gnu.org/viewcvs?rev=241658&root=gcc&view=rev
Log:
Make filesystem::path work with basic_string_view (P0392R0)
* include/experimental/bits/fs_path.h (__is_path_src)
(_S_range_begin, _S_range_end): Overload to treat string_view as a
Source object.
(path::operator+=, path::compare): Overload for basic_string_view.
* testsuite/experimental/filesystem/path/construct/string_view.cc:
New test.
* testsuite/experimental/filesystem/path/construct/
string_view_cxx17.cc: New test.
Added:
trunk/libstdc++-v3/testsuite/experimental/filesystem/path/construct/string_view.cc
Modified:
trunk/libstdc++-v3/ChangeLog
trunk/libstdc++-v3/include/experimental/bits/fs_path.h
More information about the Libstdc++-cvs
mailing list