id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 3579,[ptr_container] ptr_vector::resize creates uninitialized objects if T is a POD,roman.perepelitsa@…,Thorsten Ottosen,"ptr_vector::resize creates new objects using 'new T' instead of 'new T()', which results in uninitialized objects if T is a POD. For consistency with STL containers (std::vector in particular) all PODs must be explicitly initialized. Test: #include #include int main() { boost::ptr_vector v; v.resize(1); assert(v[0] == 0); // Might fail. } ptr_circullar_buffer has the same problem. I'm attaching a patch that fixes the problem.",Bugs,closed,Boost 1.41.0,ptr_container,Boost 1.40.0,Problem,fixed,"ptr_container, ptr_vector",roman.perepelitsa@…