Re: [Boost-bugs] [Boost C++ Libraries] #3989: Syntax error -- missing "template" keyword

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3989: Syntax error -- missing "template" keyword
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-03-09 00:04:09


#3989: Syntax error -- missing "template" keyword
--------------------------+-------------------------------------------------
 Reporter: anonymous | Owner: cornedbee
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: property_tree
  Version: Boost 1.42.0 | Severity: Showstopper
 Keywords: |
--------------------------+-------------------------------------------------

Comment(by anonymous):

 Whoops, here's the patch in a more readable format.

 {{{
 Index: detail/ptree_implementation.hpp
 ===================================================================
 --- detail/ptree_implementation.hpp (revision 60372)
 +++ detail/ptree_implementation.hpp (working copy)
 @@ -770,7 +770,7 @@
                                                           Translator tr)
 const
      {
          if (optional<const self_type&> child = get_child_optional(path))
 - return child.get().get_value_optional<Type>(tr);
 + return child.get().template get_value_optional<Type>(tr);
          else
              return optional<Type>();
      }

 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3989#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:02 UTC