Boost logo

Boost Users :

From: Robert Dailey (rcdailey_at_[hidden])
Date: 2008-04-24 15:39:24


Hi,

I create the following object:

boost::filesystem::path mypath( "SomeFolder/OnWindows/SubFolder" );

In Microsoft Windows, the standard slash direction is "\", so when I run the
above in the debugger, I notice m_path is still using forward slashes ("/").
I would have expected the slashes to be normalized. Am I misunderstanding
something? How can I construct a path object like above and have it
normalize the slashes? Thanks.



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