Re: [Boost-bugs] [Boost C++ Libraries] #9860: mem_fun_cxx98 doesn't compile with c++11

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9860: mem_fun_cxx98 doesn't compile with c++11
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-06-27 15:15:52


#9860: mem_fun_cxx98 doesn't compile with c++11
-----------------------------+----------------------
  Reporter: chris.cooper@… | Owner: dgregor
      Type: Bugs | Status: closed
 Milestone: Boost 1.56.0 | Component: function
   Version: Boost 1.54.0 | Severity: Problem
Resolution: fixed | Keywords:
-----------------------------+----------------------
Changes (by marshall):

 * status: new => closed
 * resolution: => fixed
 * milestone: To Be Determined => Boost 1.56.0

Comment:

 This has been fixed, but not made it into a release yet. It will be part
 of the 1.56.0 release.

 * commit 78eb6b1c8c2492fea1783c09e946d094a8a5e905
 * Author: Marshall Clow <marshall_at_[hidden]>
 * Date: Mon Feb 3 11:46:05 2014 -0800

     Fixed two tests to work with C++11/libc++. The tests attempted to
 compare two ostream&, but didn't really. In c++03, both decayed to void *,
 which wre then compared. In c++11, the ostreams are comvertible to bool,
 but only explicitly, and this failed to compile. Use a custom struct with
 operator== instead of ostream in these tests instead.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9860#comment:3>
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:16 UTC