Boost C++ Libraries: Ticket #9915: Documentation issues regarding vector constructors and resize methods - value/default initialization https://svn.boost.org/trac10/ticket/9915 <p> As for Boost 1.54: </p> <p> The documentation of boost::container::vector::resize(size_type) says the elements are default constructed. The same applies to the respective constructor: boost::container::vector(size_type n). Seems that the implementation is different - the new elements are value-initialized, just as it is defined for the std::vector in C++11. </p> <p> As for Boost 1.55: </p> <p> The documentation of boost::container::resize(size_type new_size, default_init_t) says the new elements are value initialized, where it should say they are default initialized. Note that the documentation of the respective constructor is correct and says the elements are default constructed. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/9915 Trac 1.4.3 Ion Gaztañaga Wed, 16 Apr 2014 22:10:37 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/9915#comment:1 https://svn.boost.org/trac10/ticket/9915#comment:1 <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> <p> Fixed in develop branch: </p> <p> SHA-1: bffd6c036c4402d91f284bc5c5e755a374e87b3d </p> <ul><li>Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/9915" title="#9915: Bugs: Documentation issues regarding vector constructors and resize methods ... (closed: fixed)">#9915</a>. </li><li>Uses intrusive is_convertible in MSVC compilers. </li><li>Removes some throw conditions in the documentation produced by the allocator copy constructor (as the standard requires no-throw guarantee for those). </li></ul> Ticket