[property_tree]problem with equal_range

Hello all,
I am getting an error while trying to compile the following program:
#include "boost/property_tree/ptree.hpp"
int main(int argc, char* argv[])
{
boost::property_tree::ptree t;
t.equal_range("KEY");
return 0;
}
Compiler output:
1>c:\hibbettlinux\src\boost-1.41.0\boost\property_tree\detail\ptree_impl
1>emen
tation.hpp(448) : error C2039: 'base' : is not a member of
'boost::multi_index::detail::bidir_node_iterator<Node>'
1> with
1> [
1>
Node=boost::multi_index::detail::ordered_index_node

Sebastian,
It almost works now. To fix the problem, I had to either remove the
explicit declaration from the assoc_iterator constructor, or do the
following in equal_range:
return std::pair
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Sebastian Redl Sent: Saturday, January 30, 2010 7:50 AM To: boost-users@lists.boost.org Subject: Re: [Boost-users] [property_tree]problem with equal_range
Andrey Torba wrote:
i have the same problem Fixed in trunk now.
Sebastian _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (3)
-
Andrey Torba
-
Ken Murphy
-
Sebastian Redl