Boost logo

Boost :

Subject: Re: [boost] [filesystem] : basic_path : Feature request
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2009-02-06 14:53:14


Ion Gaztañaga wrote:
> Sebastian Redl wrote:
>> It would be pretty trivial to implement, anyway. It's just "*this =
>> parent_path();"
>
> What about making it more efficient and nothrow? ;-)
OK, then move the main logic of parent_path() there and implement
parent_path() as

path t(*this);
t.pop_back();
return t;

Sebastian


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