boost::filesystem: leaf() missing?

Hi, 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?

On Wed, Sep 17, 2008 at 17:32, Robert Dailey <rcdailey@gmail.com> 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 HTH, ~ Scott

On Wed, Sep 17, 2008 at 4:43 PM, Scott McMurray <me22.ca+boost@gmail.com> wrote:
On Wed, Sep 17, 2008 at 17:32, Robert Dailey <rcdailey@gmail.com> 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:
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 :(

On Wed, Sep 17, 2008 at 4:57 PM, Robert Dailey <rcdailey@gmail.com> wrote:
On Wed, Sep 17, 2008 at 4:43 PM, Scott McMurray <me22.ca+boost@gmail.com> wrote:
On Wed, Sep 17, 2008 at 17:32, Robert Dailey <rcdailey@gmail.com> 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:
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!
participants (2)
-
Robert Dailey
-
Scott McMurray