Difference between revisions of "cpp/container/queue"
From cppreference.com
m (Text replace - "{{tdcl list begin}} {{tdcl list h1 | Member types}}" to "===Member types=== {{tdcl list begin}}") |
(queue has swap and comparisons too) |
||
Line 42: | Line 42: | ||
{{dcl list h1 | Member objects}} | {{dcl list h1 | Member objects}} | ||
{{dcl list template | cpp/container/dcl list c | queue}} | {{dcl list template | cpp/container/dcl list c | queue}} | ||
+ | {{dcl list end}} | ||
+ | |||
+ | ===Non-member functions=== | ||
+ | {{dcl list begin}} | ||
+ | {{dcl list template | cpp/container/dcl list operator_comp | queue}} | ||
+ | {{dcl list template | cpp/container/dcl list std_swap | queue}} | ||
{{dcl list end}} | {{dcl list end}} |
Revision as of 07:09, 5 October 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