Re: [Boost-bugs] [Boost C++ Libraries] #1910: function::swap should avoid doing memory allocations

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #1910: function::swap should avoid doing memory allocations
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-09-05 16:36:33


#1910: function::swap should avoid doing memory allocations
---------------------------+------------------------------------------------
  Reporter: niels_dekker | Owner: dgregor
      Type: Bugs | Status: closed
 Milestone: Boost 1.36.0 | Component: function
   Version: Boost 1.35.0 | Severity: Problem
Resolution: fixed | Keywords:
---------------------------+------------------------------------------------

Comment(by niels_dekker):

 Thank you, Doug! I'm not sure if we should sacrifice the small-object
 optimization to get a ''strictly'' nothrow swap. For the time being, the
 function::swap performance improvement you've just committed looks like a
 reasonable compromise to me.

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1910#comment:4>
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:49:58 UTC