Index: boost/property_tree/detail/ptree_implementation.hpp =================================================================== --- boost/property_tree/detail/ptree_implementation.hpp (revision 61636) +++ boost/property_tree/detail/ptree_implementation.hpp (working copy) @@ -502,14 +502,16 @@ typename basic_ptree::iterator basic_ptree::to_iterator(assoc_iterator ai) { - return iterator(subs::ch(this).project<0>(ai.base())); + return iterator(subs::ch(this). + BOOST_NESTED_TEMPLATE project<0>(ai.base())); } template inline typename basic_ptree::const_iterator basic_ptree::to_iterator(const_assoc_iterator ai) const { - return const_iterator(subs::ch(this).project<0>(ai.base())); + return const_iterator(subs::ch(this). + BOOST_NESTED_TEMPLATE project<0>(ai.base())); } // Property tree view