Struct std::Stack
generic<T> struct Stack {
?&heap T data;
unsigned long top;
unsigned long cap;
}Fields
number of elements
Methods
empty, no allocation
room for cap elements
0 on OOM
null if empty
null if empty
drop every element, keep the buffer
drops the elements, frees the buffer (Drop)
= drop()