First page Back Continue Last page Graphics
list cont.
c1.swap(c2)
- swaps the data of c1 and c2
Element access
- c.front( ) - returns the first element
- c.back( ) - returns the last element
Iterator functions
- c.begin( ) Returns a bidirectional iterator for the first element.
- c.end( ) Returns a bidirectional iterator for the position after the last element.
- c.rbegin( ) & c.rend( ) (same but for reverse)