Celeritas  0.5.0-86+4a8eea4
Public Member Functions | Public Attributes | List of all members
celeritas::StackAllocatorData< T, W, M > Struct Template Reference

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>
StackAllocatorDataoperator= (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.
 

Detailed Description

template<class T, Ownership W, MemSpace M>
struct celeritas::StackAllocatorData< T, W, M >

Storage for a stack and its dynamic size.


The documentation for this struct was generated from the following file: