#include <core_vector.h>
Public Types | |
typedef Container::iterator | iterator |
typedef Container::const_iterator | const_iterator |
Public Member Functions | |
core_stack () | |
core_stack (int initsize, int initcap, const T &fillwith=T()) | |
void | push (const T &t) |
T | pop () |
void | pop_noret () |
T & | top () |
const T & | top () const |
T & | bottom () |
const T & | bottom () const |
int | size () const |
bool | empty () const |
int | capacity () const |
T & | peek (int fromtop=0) |
const T & | peek (int fromtop=0) const |
T & | operator[] (int idx) |
const T & | operator[] (int idx) const |
Public Attributes | |
Container | _vec |
Private Types | |
typedef core_vector< T > | Container |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|