Define std::filesystem::path::format enum (P0430R2)
commit80f13822072c51a5e0cf9c8eb780064be672e547
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Oct 2017 12:01:49 +0000 (27 12:01 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 27 Oct 2017 12:01:49 +0000 (27 12:01 +0000)
treee453bf34346834a8780cb54ab9df22fd8ca63c14
parenta123680158951e9f272df588ba91ac74556c94e7
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@254144 138bc75d-0d04-0410-961f-82ee72b054a4
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]