Re: [Boost-bugs] [Boost C++ Libraries] #5774: Boost Signals 1.48 gcc 4.6.1 error

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5774: Boost Signals 1.48 gcc 4.6.1 error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-09-07 17:20:09


#5774: Boost Signals 1.48 gcc 4.6.1 error
---------------------------------------+------------------------------------
  Reporter: ramon.casellas@… | Owner: dgregor
      Type: Bugs | Status: new
 Milestone: Boost 1.48.0 | Component: signals
   Version: Boost Development Trunk | Severity: Showstopper
Resolution: | Keywords: boost signals trunk error 1.48.0
---------------------------------------+------------------------------------

Comment (by leo goodstadt (boost <at> llew.org.uk)):

 Works with a cast:
 {{{
 #!cpp
     groups.erase(static_cast<const_group_iterator>(group));
 }}}


 and

 {{{
 #!cpp
     if (empty(g)) groups.erase(static_cast<const_group_iterator>(g++));
 }}}

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