[Boost-bugs] [Boost C++ Libraries] #3637: extra opening { in format_implementation.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #3637: extra opening { in format_implementation.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-11-18 13:51:58


#3637: extra opening { in format_implementation.hpp
----------------------------------------+-----------------------------------
 Reporter: ralphgauges@… | Owner:
     Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: None
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
----------------------------------------+-----------------------------------
 I just got the latest version of the source code from svn and when I
 compiled my program which uses the BGL, I got a compiler error.

 It looks as if there is an additional opening { in
 format/format_implementation.hpp line 199 which seems to be used by the
 BGL.

 Removing it lets me compile my program again.
 Here the diff

 --- boost/format/format_implementation.hpp (revision 57746)
 +++ boost/format/format_implementation.hpp (working copy)
 @@ -194,7 +194,7 @@
      template< class Ch, class Tr, class Alloc>
      int basic_format<Ch,Tr, Alloc>::
      cur_arg() const {
 - { return cur_arg_+1; }
 + return cur_arg_+1; }

      template< class Ch, class Tr, class Alloc>
      int basic_format<Ch,Tr, Alloc>::

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3637>
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:01 UTC