Talk:cpp/filesystem/path/append

Microsoft's std::experimental::filesystem::path (the version shipped with Visual Studio 2015) does not behave as specified above. Absolute paths are just concatenated and do not replace, as shown. Instead:

path("C:/foo") / path("C:/bar") yields C:\foo\C:bar, and

path("C:/foo") / path("/bar") yields C:\foo\bar.

Furthermore, paths without a drive specifier are considered relative--so "/bar" is considered a relative, not absolute path. — Preceding unsigned comment added by Jlidbeck (talk • contribs)
 * Well yes, a 2015 implementation of the filesystem TS doesn't incorporate changes made in 2017 for the C++17 IS. T. Canens (talk) 22:40, 15 January 2018 (PST)