CheapStack
Moonshine.CheapStack — Typestruct CheapStack{T}Simple stack container.
Functionalities
The following operations are supported:
isemptyempty!firstlengthpop!push!
For convenience, CheapStack implements the iteration interface.
Fields
store::UnsafeArrays.UnsafeArray{T, 1} where Tptr::Base.RefValue{Int64}
Moonshine.CheapStack — MethodCheapStack(store)
Construct a CheapStack that uses an UnsafeArray as store.