Skip to content

Container adaptors

cppreference Container adaptors

Container adaptors provide a different interface for sequential containers.

简介
stack adapts a container to provide stack (LIFO data structure) (class template)
queue adapts a container to provide queue (FIFO data structure) (class template)
priority_queue adapts a container to provide priority queue (class template)