Boost logo

Boost :

From: Scott McMurray (me22.ca+boost_at_[hidden])
Date: 2008-08-20 16:49:28


On Wed, Aug 20, 2008 at 14:12, Ming <cyberming_at_[hidden]> wrote:
>
> I try to use boost 1.36 instead of 1.33 to compile libtorrent library. But I
> got a error of
> "error C2039: 'has_branch_path' : is not a member of
> 'boost::filesystem::basic_path<String,Traits>' "
>
> I cannot find the function in boost\filesystem\path.hpp in version 1.36, but
> can find in in 1.33. Does has_branch_path() is deprecated in the new version
> library? Or it is moved to other classes?
>

A number of the decomposition functions have had their names changed.
has_branch_path is now has_parent_path:
http://beta.boost.org/doc/libs/1_36_0/libs/filesystem/doc/reference.html#basic_path-observers

I think there's a patch in the works to have the old names available, though.

~ Scott


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