Boost logo

Boost Users :

Subject: Re: [Boost-users] [Filesystem] There must be a better way to do path decomposition
From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2011-08-04 12:24:15


On Thu, Aug 4, 2011 at 07:22, Ramon F Herrera <ramon_at_[hidden]> wrote:
>
> 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.
>

"." is a relative path to the current directory. If you want to get
an absolute path, then use
<http://www.boost.org/libs/filesystem/v3/doc/reference.html#system_complete>
to apply the relative path to the system cwd.


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