[FileSystem.path] has_branch_path() not found

Hi all, 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? Yours, CMing

On Wed, Aug 20, 2008 at 14:12, Ming <cyberming@gmail.com> 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#bas... I think there's a patch in the works to have the old names available, though. ~ Scott

Scott McMurray wrote:
On Wed, Aug 20, 2008 at 14:12, Ming <cyberming@gmail.com> 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#bas...
I think there's a patch in the works to have the old names available, though.
I'm still working on it, but real life keeps getting in the way. I'm also adding a regression test to detect such regressions in the future. --Beman
participants (3)
-
Beman Dawes
-
Ming
-
Scott McMurray