August 2012
Intermediate to advanced
976 pages
30h 17m
English
Just as there are several ways to add elements to a (nonarray) container there are also several ways to remove elements. These members are listed in Table 9.7.
Table 9.7. erase Operations on Sequential Containers
Warning
The members that remove elements do not check their argument(s). The programmer must ensure that element(s) exist before removing them.
pop_front and pop_back MembersThe pop_front and pop_back
Read now
Unlock full access