new push 1 push 2 push 3 push 4 push 5 push 6 push 7 push 8 push 9 push 10 pop 1 pop 2 pop 3 pop 4 pop 5 pop 6 pop 7 pop 8 pop 9 push 11 pop 10 pop 11 delete new: 15 capacity 15 empty 1 size 0 front! pop! push 1 front 1 size 1 empty 0 capacity 15 push 2 front 1 size 2 empty 0 capacity 15 push 3 front 1 size 3 push 4 front 1 size 4 push 5 size 5 push 6 size 6 front 1 empty 0 capacity 15 clear capacity 15 empty 1 size 0 front! pop! push 1 front 1 size 1 empty 0 capacity 15 push 2 front 1 size 2 empty 0 capacity 15 push 3 front 1 size 3 push 4 front 1 size 4 push 5 size 5 push 6 size 6 front 1 empty 0 capacity 15 push 7 push 8 push 9 push 10 size 10 push 11 push 12 push 13 push 14 capacity 15 empty 0 size 14 front 1 push 15 size 15 empty 0 front 1 push! 16 capacity 15 size 15 assign pop 1 size 14 empty 0 capacity 15 front 2 pop 2 size 13 empty 0 capacity 15 front 3 pop 3 front 4 pop 4 front 5 pop 5 front 6 pop 6 front 7 pop 7 front 8 pop 8 front 9 pop 9 front 10 assign assign assign capacity 15 size 6 empty 0 clear empty 1 size 0 front! pop! delete exit pop 10 pop 11 pop 12 pop 13 pop 14 pop 15 empty 1 size 0 front! pop! push 1 push 2 push 3 front 1 size 3 empty 0 delete exit delete exit pop 10 front 11 size 5 pop 11 front 12 pop 12 empty 0 size 3 capacity 15 front 13 pop 13 size 2 pop 14 front 15 pop 15 empty 1 size 0 front! delete exit delete summary exit