Re: [Boost-bugs] [Boost C++ Libraries] #11627: small_vector<T, n>::swap( ) appears to be broken

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11627: small_vector<T, n>::swap( ) appears to be broken
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-09-09 07:53:32


#11627: small_vector<T,n>::swap( ) appears to be broken
-----------------------------------+------------------------
  Reporter: benjamin.redelings@… | Owner: igaztanaga
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: container
   Version: Boost 1.59.0 | Severity: Problem
Resolution: fixed | Keywords:
-----------------------------------+------------------------
Changes (by igaztanaga):

 * status: new => closed
 * resolution: => fixed

Comment:

 Thanks for the report. The swap code handling the non-usual pointer swap
 idiom was not deleting the final elements. Also, an argument passed to
 test is the storage is propagable had a copy-paste error.

 Fixed in:

 https://github.com/boostorg/container/commit/f1f97518d338c7f7351308aa1785ebae5f2ddde7

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