Boost logo

Boost :

From: Jesse Jones (jesjones_at_[hidden])
Date: 2002-01-27 22:29:03


At 8:03 AM -0500 1/27/02, John Maddock wrote:
>I'm really pleased to see someone working on this, however I'm not sure
>that we have the right interface yet, on the whole I prefer
>
>http://stewart.simwright.net/sample/classswMenagerie_1_1Pathname.html
>
>to
>
>http://www.helsinki.fi/~kajala/code/path_20020124a/classboost_1_1path.html

Me too.

>For the interface - we already have the basics - it should be an immutable
>sequence (23.1.1) - and in addition support some of the extra interfaces
>analogous to those of std::basic_string:
>
>char_type operator[]const;
>const_pointer c_str()const;
>const_pointer data()const;

Aren't paths an implementation detail? What about OS's now and in the
future that deprecate paths? I don't see why we can't create a higher
level class that works just as well as a path-centric class, but also
works well on the Mac OS.

   -- Jesse

-- 

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