Difference between revisions of "cpp/container/queue"
From cppreference.com
(queue has swap and comparisons too) |
(+uses-allocator) |
||
Line 48: | Line 48: | ||
{{dcl list template | cpp/container/dcl list operator_comp | queue}} | {{dcl list template | cpp/container/dcl list operator_comp | queue}} | ||
{{dcl list template | cpp/container/dcl list std_swap | queue}} | {{dcl list template | cpp/container/dcl list std_swap | queue}} | ||
+ | {{dcl list template | cpp/container/dcl list uses_allocator | queue}} | ||
{{dcl list end}} | {{dcl list end}} |
Revision as of 08:30, 1 November 2011
Template:cpp/container/queue/sidebar
Defined in header <queue>
|
||
template< class T, |
||
The std::queue
class is a container adapter that gives the programmer the functionality of a queue - specifically, a FIFO (first-in, first-out) data structure.
Contents |
Member types
Template:tdcl list begin Template:tdcl list hitem Template:tdcl list template Template:tdcl list template Template:tdcl list template Template:tdcl list template Template:tdcl list template Template:tdcl list end