| | | | | |

Deques - traditional

  • Double-ended queue class (deque, pronounced "deck")
  • Deque operations
    • Push/Pop at either end: PushFront(), PopFront(), PushBack(), PopBack()
    • Retrieve data from either end: Front(), Back()
    • Proper type
  • Assumptions on element type T (proper type)
    • constructor T() and destructor ~T()
    • copy constructor
    • assignment operator =

| | Top of Page | 4. Generic Positional Containers and Double Ended Queues - 2 of 10