Subject: Re: [Boost-bugs] [Boost C++ Libraries] #13533: Boost vector resize causes assert(false)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-04-29 10:39:50
#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):
The solution is to value-initialize an object and move it to the target.
For default-initialization, this can be elided for POD-like types. Fixed
in:
https://github.com/boostorg/container/commit/42c6be5887b34b67be4d54041acab12157d080f9
Thanks for the report.
-- Ticket URL: <https://svn.boost.org/trac10/ticket/13533#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 : 2018-04-29 10:45:34 UTC