#include <ored/scripting/safestack.hpp>
Public Member Functions | |
const T & | top () const |
T & | top () |
T | pop () |
bool | empty () const |
std::stack< T >::size_type | size () const |
void | push (const T &t) |
void | push (T &&t) |
template<typename... Args> | |
void | emplace (Args &&... t) |
void | swap (const SafeStack< T > &other) |
Private Attributes | |
std::stack< T > | stack_ |
Definition at line 33 of file safestack.hpp.
const T & top | ( | ) | const |
T & top | ( | ) |
Definition at line 36 of file safestack.hpp.
T pop | ( | ) |
Definition at line 40 of file safestack.hpp.
bool empty | ( | ) | const |
Definition at line 45 of file safestack.hpp.
std::stack< T >::size_type size | ( | ) | const |
Definition at line 46 of file safestack.hpp.
void push | ( | const T & | t | ) |
Definition at line 47 of file safestack.hpp.
void push | ( | T && | t | ) |
Definition at line 48 of file safestack.hpp.
void emplace | ( | Args &&... | t | ) |
Definition at line 49 of file safestack.hpp.
void swap | ( | const SafeStack< T > & | other | ) |
Definition at line 50 of file safestack.hpp.
|
private |
Definition at line 53 of file safestack.hpp.