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-08 23:05:46


#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 igaztanaga):

 The code works fine in Clang, I suspect it's a Visual C++ error with
 lambdas, as an equivalent:

 {{{

 struct functor
 {
    bool operator()(const int& p) const{ return p == 0; }
 };

    bar.remove_if(functor());

 }}}

 works fine.

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