Re: [Boost-bugs] [Boost C++ Libraries] #12194: Copy assignment on moveable and copyable classes uses wrong type

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #12194: Copy assignment on moveable and copyable classes uses wrong type
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-07-06 08:17:36


#12194: Copy assignment on moveable and copyable classes uses wrong type
---------------------------+------------------------
  Reporter: a.grund@… | Owner: igaztanaga
      Type: Bugs | Status: reopened
 Milestone: Boost 1.61.0 | Component: move
   Version: Boost 1.59.0 | Severity: Regression
Resolution: | Keywords:
---------------------------+------------------------

Comment (by a.grund@…):

 This is strange as it returns a 'const rv<...>&' which should be ok and is
 also documented this way.

 If the other libraries can't be fixed, please document this back to 1.59
 as that change was silently introduced (no release note) and changes the
 observed and documented behaviour:

 "const rvalue and lvalues, bind to const ::boost::rv< TYPE >&"

 But now it seems it is like: "const rvalue and lvalues, bind to const
 ::boost::rv< TYPE >& OR const TYPE&" or a mix of both depending on some
 unknown conditions.

 This makes it very hard to use this in non-trivial/templated contexts

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12194#comment:5>
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:20 UTC