Boost logo

Boost Users :

Subject: Re: [Boost-users] Updating filesystem to V3 (boost 1.49) - normalize deprecated
From: Shai Shasag (shai_at_[hidden])
Date: 2012-05-08 08:22:21


Thanks, Lars

I defined the macros only for my code and now everything compiles.

I have a question regarding the deprecated function path::normalize().

Before moving to V3 I used this function to resolve paths containing "..".

For example:

path myPath("/Dir_A/Dir_B/a.txt/..");
myPath->normalize();

now myPath is: "/Dir_A/Dir_B"

Can this be done using V3 code?

Thanks,

Shai


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