Re: [Boost-bugs] [Boost C++ Libraries] #10368: Boost.Ref: undocumented breaking change: void cref(const T&&) = delete

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #10368: Boost.Ref: undocumented breaking change: void cref(const T&&) = delete
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-08-30 17:44:11


#10368: Boost.Ref: undocumented breaking change: void cref(const T&&) = delete
--------------------------------------+---------------------
  Reporter: Geurt Vos <geurt.vos@…> | Owner: pdimov
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: bind
   Version: Boost 1.56.0 | Severity: Problem
Resolution: | Keywords:
--------------------------------------+---------------------

Comment (by pdimov):

 It's true that this change breaks some valid code. It has been added to
 match C++11, which does contain this overload. It's possible that this
 wasn't the right decision, but C++11's std::cref would not work with the
 above code, so I'm not sure what we need to do here.

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