Boost logo

Boost :

From: Daryle Walker (darylew_at_[hidden])
Date: 2002-02-01 22:01:12


on 1/31/02 12:25 PM, Darin Adler at darin_at_[hidden] wrote:

> On 1/31/02 11:52 AM, "Peter Dimov" <pdimov_at_[hidden]> wrote:
>
>> About the original thread: isn't std::string sufficient as a "pathname
>> class"?
>
> I was thinking the same thing.
>
> It would indeed be nice to have a set of functions that manipulate pathnames.
> But if these are truly pathnames, and not "abstract file system locations",
> then would make them functions that work on pathnames stored in std::string
> objects.

I think that something like std::list<std::string> would be better. Now you
don't have to do any parsing of path section separators.

-- 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk