Celeritas
0.5.0-86+4a8eea4
|
Storage for a stack and its dynamic size. More...
#include <StackAllocatorData.hh>
Public Member Functions | |
CELER_FUNCTION | operator bool () const |
Whether the data is assigned. | |
CELER_FUNCTION size_type | capacity () const |
Total capacity of stack. | |
template<Ownership W2, MemSpace M2> | |
StackAllocatorData & | operator= (StackAllocatorData< T, W2, M2 > &other) |
Assign from another stack. | |
Public Attributes | |
celeritas::Collection< T, W, M > | storage |
Allocated capacity. | |
celeritas::Collection< size_type, W, M > | size |
Stored size. | |
Storage for a stack and its dynamic size.