]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix experimental::path::generic_string (PR 93245)
authorJonathan Wakely <jwakely@redhat.com>
Sat, 21 Mar 2020 22:11:44 +0000 (22:11 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 7 Aug 2020 10:39:29 +0000 (11:39 +0100)
commit88f2b72e77fea11803b761f4fb569d83266e1d9e
treefea3bac47ce11614d9aa75ae9e724245cf7936e9
parente7406c364496dae51ef294b5720923fe4a1dfccb
libstdc++: Fix experimental::path::generic_string (PR 93245)

This function was unimplemented, simply returning the native format
string instead.

PR libstdc++/93245
* include/experimental/bits/fs_path.h (path::generic_string<C,T,A>()):
Return the generic format path, not the native one.
* testsuite/experimental/filesystem/path/generic/generic_string.cc:
Improve test coverage.

(cherry picked from commit a577c0c26931090e7c25e56ef5ffc807627961ec)
libstdc++-v3/include/experimental/bits/fs_path.h
libstdc++-v3/testsuite/experimental/filesystem/path/generic/generic_string.cc