Boost logo

Boost Users :

Subject: Re: [Boost-users] Can I get filesystem::basic_path<> template to use backslashes ?
From: Norbert Wenzel (norbert.wenzel.lists_at_[hidden])
Date: 2010-07-29 11:26:33


On 29.07.2010 15:36, Timothy Madden wrote:
> Is there a way for the basic_path observer functions (string(),
> root_path(), relative_path(), filename()) to use backslashes instead of
> forward slashes on Windows ?

Have you tried external_string() instead of string()? I currently can't
test it, but if i remember correctly, that should give you a string
formatted according to your OS path rules.

Norbert


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