(1) Reserved to capacity() == 20 (1 used, SIZE_MAX/elsize max) (1,2,3,4,5,6,7,8,9,10,11,12,13,13,14,15,16,17,18) front() = 1, back() = 18 (2,3,4,5,6,7,8,9,10,11,12,13,13,14,15,16,17) (2,3,4,5,6,777,8,9,10,11,666,666,666,12,13,13,14,15,16,17) (2,3,4,5,6,777,8,9,10,11,666,666,666,12,13) v[5] == 777 v is now empty (66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66,66) (33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33,33) (1,2,3,4,5,6,7,8,9,10,11,12,13,13,14,15,16,17,18) v == v2 A::A A::A A::A A::A A::operator= A::operator= A::operator= Class insertion testing successful A::~A A::~A A::~A A::~A