| | | | <- prev | |

Generic Positional Containers

  • A Generic Container C
    • C is a template class for any proper type T
    • C<T> is a proper type
    • C<T> is capable of storing arbitrary numbers of T objects
    • C<T> supports an associated iterator class C<T>::Iterator
  • Organized and Accessible by Position
    • Client may access any T object at any position in C<T>
    • Typically: either PushFront()/PopFront()/Front() or PushBack()/PopBack()/Back()
  • "pContainer" for short

<- prev | | Top of Page | 4. Generic Positional Containers and Double Ended Queues - 1 of 10