Talk:cpp/filesystem/path/append
From cppreference.com
< Talk:cpp
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)