Re: [boost] Filesystem: basename

2003-08-14 Thread Beman Dawes
At 11:32 AM 8/6/2003, David Abrahams wrote: > >I think this is a badly-chosen name. Both POSIX and Python have a >basename function which does roughly what our leaf() function does. > > ... > >I don't think we should use creative naming in cases like this one. The naming scheme based the root/bran

[boost] Filesystem: basename

2003-08-06 Thread David Abrahams
I think this is a badly-chosen name. Both POSIX and Python have a basename function which does roughly what our leaf() function does. Python: >>> import os.path >>> help(os.path.basename) Help on function basename: basename(p) Returns the final component of a pathname