|
Boost : |
Subject: Re: [boost] boost::filesystem: leaf() missing?
From: Robert Dailey (rcdailey_at_[hidden])
Date: 2008-09-17 18:44:55
On Wed, Sep 17, 2008 at 4:57 PM, Robert Dailey <rcdailey_at_[hidden]> wrote:
> On Wed, Sep 17, 2008 at 4:43 PM, Scott McMurray <me22.ca+boost_at_[hidden]> wrote:
>> On Wed, Sep 17, 2008 at 17:32, Robert Dailey <rcdailey_at_[hidden]> wrote:
>>>
>>> I noticed I cannot use the leaf() function off of
>>> boost::filesystem::path anymore in 1.36. The documentation examples
>>> are still using leaf(). Is this broken?
>>>
>>
>> The documentation should probably be updated to the new names, but the
>> intention was (iirc) to leave the old names available (but
>> deprecated). That may, however, require patching:
>>
>> http://lists.boost.org/boost-announce/2008/08/0200.php
>
> Well, if the old functions do not exist anymore that's fine. If you
> could let me know what the *new* name for leaf() is I'd appreciate it,
> and it would let me go about my way. I'm really not in the mood to
> have to patch boost right now :(
directory_entry::path()
and
basic_path::stem()
This gives me what I want. Thanks for the help, I don't need the
patches after all!
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk