Boost logo

Boost Users :

Subject: Re: [Boost-users] [Filesystem] There must be a better way to do path decomposition
From: Ramon F Herrera (ramon_at_[hidden])
Date: 2011-08-04 12:14:26


On 8/4/2011 9:22 AM, Ramon F Herrera wrote:
>
> Thanks so much to Norbert and Richard. I solved my problem with this
> statement:
>
> lastComponent = (*it).string();
>
> As long as we are on the topic: How do I expand directory notations with
> dots? For instance, if my app is called like this:
>
> myapp .
>
> The dot should expand to `/home/ramon/src/development' or whatever.

It seems that such directory path expansion would be perfectly matched
to the list of Boost::Filesystem features...

-RFH


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