Boost logo

Boost Users :

Subject: Re: [Boost-users] PropertyTree compatibility with Visual C++
From: Sebastian Redl (sebastian.redl_at_[hidden])
Date: 2010-05-26 03:58:08


On Tue, 25 May 2010 16:45:51 +0200, Warren Seine <warren.seine_at_[hidden]>
wrote:
>
> [..]\boost\property_tree\detail\ptree_implementation.hpp(30):
> error C2440: 'specialization': cannot convert from 'const std::string
> std::_Pair_base<_Ty1,_Ty2>::* ' to 'const
> std::basic_string<_Elem,_Traits,_Ax> std::pair<_Ty1,_Ty2>::* '
>
> Can someone reproduce the bug? If so, is there some kind of workaround,
> even if it requires hacking the library?

This is due to a bug in Microsoft's standard library and has been worked
around on trunk and the current release branch. So you can either grab an
updated copy of PTree from there (it should seamlessly integrate with older
Boost releases) or wait for the next release.

Sebastian


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net