Re: [Boost-bugs] [Boost C++ Libraries] #3421: nullable and resize

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3421: nullable and resize
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-09-08 09:32:06


#3421: nullable and resize
----------------------------------+-----------------------------------------
 Reporter: olafvdspek@… | Owner: nesotto
     Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: ptr_container
  Version: Boost 1.40.0 | Severity: Problem
 Keywords: |
----------------------------------+-----------------------------------------

Comment(by olafvdspek):

 My bad, turns out resize() allocates new elements, even if the container
 allows null values. This is unexpected behaviour and is poorly documented.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3421#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 : 2017-02-16 18:50:01 UTC