|
Nugget
|
#include <stack.h>

Public Types | |
| typedef stack< T, Container > | this_type |
| typedef Container | container_type |
| typedef Container::value_type | value_type |
| typedef Container::reference | reference |
| typedef Container::const_reference | const_reference |
| typedef Container::size_type | size_type |
Public Member Functions | |
| template<class Allocator > | |
| stack (const Allocator &allocator, typename eastl::enable_if< eastl::uses_allocator< container_type, Allocator >::value >::type *=NULL) | |
| template<class Allocator > | |
| stack (const this_type &x, const Allocator &allocator, typename eastl::enable_if< eastl::uses_allocator< container_type, Allocator >::value >::type *=NULL) | |
| template<class Allocator > | |
| stack (this_type &&x, const Allocator &allocator, typename eastl::enable_if< eastl::uses_allocator< container_type, Allocator >::value >::type *=NULL) | |
| stack (const container_type &x) | |
| stack (container_type &&x) | |
| stack (std::initializer_list< value_type > ilist) | |
| bool | empty () const |
| size_type | size () const |
| reference | top () |
| const_reference | top () const |
| void | push (const value_type &value) |
| void | push (value_type &&x) |
| template<class... Args> | |
| void | emplace_back (Args &&... args) |
| template<class... Args> | |
| decltype(auto) | emplace (Args &&... args) |
| void | pop () |
| container_type & | get_container () |
| const container_type & | get_container () const |
Public Attributes | |
| container_type | c |
| void swap(this_type &x) EA_NOEXCEPT_IF(eastl bool | validate () const |
stack
stack is an adapter class provides a LIFO (last-in, first-out) interface via wrapping a sequence that provides at least the following operations: push_back pop_back back
In practice this means vector, deque, string, list, intrusive_list.