spot
2.2.1
|
Public Types | |
typedef S::reverse_iterator | iterator |
typedef S::const_reverse_iterator | const_iterator |
Public Member Functions | |
stack (unsigned int n) | |
T & | operator[] (unsigned int i) |
const T & | operator[] (unsigned int i) const |
void | push (T &t) |
void | pop (unsigned int n=1) |
void | clear () |
S::size_type | size () const |
const_iterator | begin () const |
const_iterator | end () const |
|
inline |
Steal the contents of t.
Close to move-semantics.