LIFO stack adapter backed by RADVector.
More...
#include <RADDataStructures.h>
|
| bool | empty () const noexcept |
| | Returns true when the stack is empty. More...
|
| |
| size_t | size () const noexcept |
| | Returns number of stacked elements. More...
|
| |
| T & | top () noexcept |
| | Returns the top element. More...
|
| |
| const T & | top () const noexcept |
| | Returns the top element. More...
|
| |
| void | push (const T &value) |
| | Pushes a copy onto the stack. More...
|
| |
| void | push (T &&value) |
| | Pushes a moved value onto the stack. More...
|
| |
| template<typename... Args> |
| T & | emplace (Args &&... args) |
| | Constructs an element on top of the stack. More...
|
| |
| void | pop () |
| | Removes the top element. More...
|
| |
| void | clear () |
| | Removes all elements. More...
|
| |
template<typename T, typename Alloc = std::allocator<T>>
class RADData::RADStack< T, Alloc >
LIFO stack adapter backed by RADVector.
◆ clear()
template<typename T , typename Alloc = std::allocator<T>>
◆ emplace()
template<typename T , typename Alloc = std::allocator<T>>
template<typename... Args>
Constructs an element on top of the stack.
◆ empty()
template<typename T , typename Alloc = std::allocator<T>>
Returns true when the stack is empty.
◆ pop()
template<typename T , typename Alloc = std::allocator<T>>
◆ push() [1/2]
template<typename T , typename Alloc = std::allocator<T>>
Pushes a copy onto the stack.
◆ push() [2/2]
template<typename T , typename Alloc = std::allocator<T>>
Pushes a moved value onto the stack.
◆ size()
template<typename T , typename Alloc = std::allocator<T>>
Returns number of stacked elements.
◆ top() [1/2]
template<typename T , typename Alloc = std::allocator<T>>
◆ top() [2/2]
template<typename T , typename Alloc = std::allocator<T>>
The documentation for this class was generated from the following file: