Boost logo

Boost Users :

Subject: Re: [Boost-users] Can I get filesystem::basic_path<> template to use backslashes ?
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2010-07-29 11:33:13


On 29 July 2010 06:36, Timothy Madden <terminatorul_at_[hidden]> 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 ?
>

Use the external_file_string() and external_directory_string()
observers <http://www.boost.org/libs/filesystem/doc/reference.html#basic_path-observers>
on the paths you get back to turn them into external_string_types.

~ Scott


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