Boost logo

Boost Users :

From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2008-03-03 10:17:23


Hello *!

A short question: removing the leaf from the path using the remove_leaf()
results in my case (MS VC7.1, boost 1.34.1) in the path with the trailing
slash at the end. Next call to remove_leaf() results in removing this
trailing slash, which is not correct... Is it a bug, if the doc states to
remove_leaf:

basic_path& remove_leaf();

Effects: If has_branch_path() then remove the last filename from the stored
path. If that leaves the stored path with one or more trailing slash
elements not representing root-directory, remove them.

Many thanks,

Ovanes



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