Skip to content

adapter

刘俊延 edited this page Jun 14, 2017 · 3 revisions

配接器

container adapters

  • stack
    • constructor
    • operator=
    • Element access
      • top
    • Capacity
      • empty
      • size
    • Modifiers
      • push
      • pop
      • clear
      • swap
  • queue
    • constructor
    • operator=
    • Element access
      • front
      • back
    • Capacity
      • empty
      • size
    • Modifiers
      • push
      • pop
      • clear
      • swap
  • priority_queue
    • constructor
    • operator=
    • Element access
      • top
    • Capacity
      • empty
      • size
    • Modifiers
      • push
      • pop
      • clear
      • swap

iterator adapters

reverse_iterator 是一种反向迭代器,重载了 operator*operator->operator++operator--operator+operator-operator+=operatpr-=operator[] 等操作,变前进为后退,后退为前进。

Clone this wiki locally