Re: [Boost-bugs] [Boost C++ Libraries] #13533: Boost vector resize causes assert(false)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13533: Boost vector resize causes assert(false)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-04-23 14:42:25


#13533: Boost vector resize causes assert(false)
---------------------------------------------+---------------------------
  Reporter: Paul Calabrese <calabrese_p@…> | Owner: Ion Gaztañaga
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: container
   Version: Boost 1.67.0 | Severity: Problem
Resolution: | Keywords:
---------------------------------------------+---------------------------

Comment (by Ion Gaztañaga):

 Many thanks for the report and the test case. I'm afraied the patch is not
 correct as it constructs objects over already constructed ones
 (copy_n_and_update means that there are n objects already constructed in
 the range starting at the Iterator).

 I need to think about what is the expected output by the user in this case
 and implement a solution based on a copy, instead of a "uninitialized"
 copy.

-- 
Ticket URL: <https://svn.boost.org/trac10/ticket/13533#comment:1>
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 : 2018-04-23 14:49:04 UTC