Sequences
Home Up

 

Same level pages:
Sequences
Assoc. Containers
Function Objects
Type Requirements
Container Adapters

Parent level pages:
Containers
Classes
Iterators
Algorithms

Front Insertion Sequences

A front insertion sequence of type T, supports, at a minimum, the following member functions:

    void push_front(const T& x);
    void pop_front();

Examples of a front insertion sequence include the following STL classes:

deque<T>
list<T>

Back Insertion Sequences

A back insertion sequence of type T, supports, at a minimum, the following member functions:

    void push_back(const T& x);
    void pop_back();

Examples of a back insertion sequence include the following STL classes:

vector<T>
deque<T>
list<T>
 
ŠPaul Buis & Ball State University Author: Paul Buis (peb@bsu.edu) Last Modified:10/26/00 03:31 PM

NOTICE: The information presented on this page represents the personal views, ideas, and opinions of the author. This is not an official Ball State University web page. Links contained at this web site to other organizations, are presented as a service and neither constitute nor imply university endorsement or warranty.