Boost C++ Libraries: Ticket #3421: nullable and resize https://svn.boost.org/trac10/ticket/3421 <blockquote class="citation"> <p> Please notice that nullable has no effect on the containers interface (except for is_null() functions). </p> </blockquote> <p> It doesn't apear to affect the is_null() functions either. </p> <blockquote class="citation"> <p> ptr_vector::resize </p> </blockquote> <p> Doesn't initialize elements if it enlarges the container. Doesn't appear to be efficient, as it adds one element at a time. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3421 Trac 1.4.3 olafvdspek Tue, 08 Sep 2009 09:32:05 GMT <link>https://svn.boost.org/trac10/ticket/3421#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3421#comment:1</guid> <description> <p> My bad, turns out resize() allocates new elements, even if the container allows null values. This is unexpected behaviour and is poorly documented. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Thorsten Ottosen</dc:creator> <pubDate>Thu, 31 Mar 2011 20:43:01 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3421#comment:2 https://svn.boost.org/trac10/ticket/3421#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket