[property_tree] minor detail/ptree_implementation.hpp patch for gcc 3.3

Using rev5 from the vault of this library I ran into a minor issue when compiling for gcc 3.3. I can compile code against this for msvc71 both before and after the patch. BTW, while I know its accepted to Boost, is this library to be in 1.35? Thanks, -Ryan Unified diff on property_tree/detail/ptree_implementation.hpp: @@ -813,7 +813,7 @@ const key_type &path, const std::locale &loc) const { - return get_child(separator, path).get_own<Type>(loc); + return get_child(separator, path).template get_own<Type>(loc); } // Get value from data of child ptree (custom path separator) @@ -852,7 +852,7 @@ const std::locale &loc) const { if (optional<const basic_ptree<Tr> &> child = get_child_optional(separator, path)) - return child.get().get_own_optional<Type>(loc); + return child.get().template get_own_optional<Type>(loc); else return optional<Type>(); }

From: "Ryan Gallagher" <ryan.gallagher@gmail.com> Subject: [property_tree] minor detail/ptree_implementation.hpp patch for gcc 3.3
BTW, while I know its accepted to Boost, is this library to be in 1.35? Thanks,
Here's another user hoping it makes it into 1.35 Also a couple of Intel-related template specification issues on v5 but I think these are fixed in the latest in cvs from what I remember. Is there a packaged alpha for Boost v1.35 or is every lib in trunk going in?

Ryan Gallagher <ryan.gallagher <at> gmail.com> writes:
BTW, while I know its accepted to Boost, is this library to be in 1.35?
Any answer for this question (or link on branching policy for the release)? Anyhow, I've created a trac bug for this issue, as I had a few other patches to submit anyhow. http://svn.boost.org/trac/boost/attachment/ticket/1536/ However, there is no selectable property_tree component that I could see. I think this needs to be added to ensure that someone actually looks at it. Thanks, -Ryan

Ryan Gallagher <ryan.gallagher <at> gmail.com> writes:
pasted wrong link. Proper one is: http://svn.boost.org/trac/boost/ticket/1536
participants (2)
-
Paul Baxter
-
Ryan Gallagher