Re: [Boost-bugs] [Boost C++ Libraries] #10771: remove_if is broken for slist

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10771: remove_if is broken for slist
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-11-11 08:34:54


#10771: remove_if is broken for slist
-------------------------------+------------------------
  Reporter: Georgy | Owner: igaztanaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: container
   Version: Boost 1.57.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+------------------------

Comment (by Georgy <gkorolev@…>):

 Yes. Witch functor works fine! But, boost 1.56 in first case work
 correctly.
 I found the following example works.
 {{{
 void foo1()
 {
     boost::container::slist<int> bar;
     int va = 0;
     bar.remove_if([&va](int p) { return p == va; });
 }
 }}}
 It seems that something is wrong with empty closures.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10771#comment:2>
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:17 UTC