The capacity of the item pushed back vec_of_vec.back()
, is implementation defined.
However, since tmp
is copied into vec_of_vec
(using the copy constructor), the original tmp
object's capacity is unchanged in the vec_of_vec.push_back()
call.