Re: [Boost-bugs] [Boost C++ Libraries] #2319: function::operator= should "move", copy assignment should have by-value argument

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2319: function::operator= should "move", copy assignment should have by-value argument
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-09-05 20:28:53


#2319: function::operator= should "move", copy assignment should have by-value
argument
---------------------------+------------------------------------------------
  Reporter: niels_dekker | Owner: dgregor
      Type: Bugs | Status: new
 Milestone: Boost 1.37.0 | Component: function
   Version: Boost 1.36.0 | Severity: Optimization
Resolution: | Keywords:
---------------------------+------------------------------------------------

Comment (by apolukhin):

 Your patch adds memory leaks for cases, when function is already
 initialized with big functional object (move_assign member function does
 not call clean()).

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