StaticStorage#

Fully qualified name: cupva::StaticStorage

Defined in src/host/shared/include/install/cupva_host_common.hpp

template<typename T, size_t SIZE, size_t ALIGN = alignof(std::max_align_t)>
class StaticStorage#

Stack object with opaque implementation details.

The StaticStorage object is a piece of storage. It can be reinterpret as internal-implemented class object.

Template Parameters:
  • T – The type/class of internal implemented class object.

  • SIZE – The minimum size to be allocated.

  • ALIGN – The alignment constraint.