Re: [Boost-bugs] [Boost C++ Libraries] #2200: Bad memory management in algorithm::is_any_of

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2200: Bad memory management in algorithm::is_any_of
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-08-21 14:50:05


#2200: Bad memory management in algorithm::is_any_of
---------------------------------------+------------------------------------
  Reporter: jgottman_at_[hidden] | Owner: pavol_droba
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: string_algo
   Version: Boost 1.35.0 | Severity: Problem
Resolution: fixed | Keywords: string algorithms
---------------------------------------+------------------------------------

Comment(by pavol_droba):

 Ok, I have used the combination of both. Self assignment case is tested at
 the beginning and the new space is not allocate if {{{newsize <= size <
 2*newsize.}}}

-- 
Ticket URL: <http://svn.boost.org/trac/boost/ticket/2200#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