Moonshine.CheapStack — Type
mutable struct CheapStack{T}Simple stack container.
Functionalities
The following operations are supported:
isemptyempty!firstlengthpop!push!
For convenience, CheapStack implements the iteration interface.
Fields
ptr::Ptrbeginning::Ptr
Moonshine.CheapStack — Method
CheapStack(ptr::Ptr{T})
CheapStack{T}(ptr::Ptr{Nothing})Construct a CheapStack for storing objects of type T.