DeSiGNAR
0.5a
Data Structures General Library
|
#include <stack.H>
Public Types | |
using | ItemType = T |
using | KeyType = T |
using | DataType = T |
using | ValueType = T |
using | SizeType = nat_t |
Public Member Functions | |
DynStack () | |
DynStack (nat_t cap) | |
DynStack (const DynStack &s) | |
DynStack (DynStack &&s) | |
DynStack & | operator= (const DynStack &s) |
DynStack & | operator= (DynStack &&s) |
bool | is_empty () const |
void | clear () |
nat_t | size () const |
T & | push (const T &item) |
T & | push (T &&item) |
T & | top () |
const T & | top () const |
T & | base () |
const T & | base () const |
T | pop () |
void | popn (nat_t) |
using Designar::DynStack< T >::DataType = T |
using Designar::DynStack< T >::ItemType = T |
using Designar::DynStack< T >::KeyType = T |
using Designar::DynStack< T >::SizeType = nat_t |
using Designar::DynStack< T >::ValueType = T |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void Designar::DynStack< T >::popn | ( | nat_t | n | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |