Subject: [Boost-users] filesystem V3 path::normalize deprecated
From: Shai Shasag (shai_at_[hidden])
Date: 2012-05-09 12:17:21


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"

How can this be done using V3 code?

Thanks,

Shai

PS: Could not find in docs why this function was deprecated and what replacement available.