[Bug c++/34839] stl vector.resize()/assign() strange behaviour
--- Comment #2 from pcarlini at suse dot de 2008-01-17 23:21 --- The behavior is correct. First the default constructor is used in resize, then (you can't see it with the snippet) the copy constructor binds to that default constructed element, used in 3 placement new; finally the destruc
[Bug c++/34839] stl vector.resize()/assign() strange behaviour
--- Comment #1 from facorread at gmail dot com 2008-01-17 23:01 --- The same behavior when changing resize() for assign(). -- facorread at gmail dot com changed: What|Removed |Added --