Boost logo

Boost Users :

From: Nat Goodspeed (ngoodspeed_at_[hidden])
Date: 2006-11-02 11:49:23


> -----Original Message-----
> From: boost-users-bounces_at_[hidden] [mailto:boost-users-
> bounces_at_[hidden]] On Behalf Of Küppers, Ben
> Sent: Thursday, November 02, 2006 4:37 AM
> To: boost-users_at_[hidden]
> Subject: [Boost-users] [filesystem] unable to parse file path
>
> At the moment, I don't see any other option
> than to process the path string manually before passing it to the path
> constructor (kind-a defeats the whole purpose of using this class).

[Nat] I'd suggest a string pass -- on every platform -- to change every '\' to '/' before passing it to boost::filesystem::path. I believe forward slash should work everywhere. I find it plausible that backslash would only work on Windows.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net