Define std::filesystem::path::format enum (P0430R2)
authorJonathan Wakely <jwakely@redhat.com>
Fri, 27 Oct 2017 12:01:49 +0000 (13:01 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 27 Oct 2017 12:01:49 +0000 (13:01 +0100)
commit0348dd008a1cba97328011ea2ac93691522a558f
treee453bf34346834a8780cb54ab9df22fd8ca63c14
parent57e7db041f0eb98fae437ab2519eeac06dbb5999
Define std::filesystem::path::format enum (P0430R2)

* include/bits/fs_path.h (path::format): Define new enumeration type.
(path(string_type&&), path<Source>(const Source&))
(path<InputIterator>(InputIterator, InputIterator))
(path<Source>(const Source&, const locale&))
(path<InputIterator>(InputIterator, InputIterator, const locale&)):
Add format parameter.
* testsuite/27_io/filesystem/path/construct/format.cc: New test.

From-SVN: r254144
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/fs_path.h
libstdc++-v3/testsuite/27_io/filesystem/path/construct/format.cc [new file with mode: 0644]