Boost logo

Boost :

Subject: [boost] [Filesystem] v3 path separator changes
From: Alexander Lamaison (awl03_at_[hidden])
Date: 2013-03-16 12:54:22

I'm finally getting round to moving to Filesystem v3 and now my code is
breaking all over the place. The cause is the output of string() on
Windows which has changed behaviour.

I'm manipulating Unix paths for use over SFTP, but doing so on Windows.
For instance I might want to append "c" to the Unix path "/a/b".

path p("/a/b");
p /= "c";
cout << p.string();

In version 2 this would output "/a/b/c" but now it produces "/a/b\c".
Why the breaking change?

I'm trying to understand the rationale behind many of the v3 changes
which [1] and [2] don't even begin to cover.



Swish - Easy SFTP for Windows Explorer (

Boost list run by bdawes at, gregod at, cpdaniel at, john at