NDEVR
API Documentation
AlignmentDeterminator< t_type >

Determines the optimal memory alignment for a given type based on its size. More...

Static Public Member Functions

static constexpr size_t Size () noexcept
 Returns the optimal alignment size in bytes for the template type.

Detailed Description

template<class t_type>
struct AlignmentDeterminator< t_type >

Determines the optimal memory alignment for a given type based on its size.


Definition at line 174 of file MemoryManager.h.

Member Function Documentation

◆ Size()

template<class t_type>
constexpr size_t AlignmentDeterminator< t_type >::Size ( )
inlinestaticconstexprnoexcept

Returns the optimal alignment size in bytes for the template type.

Returns
The alignment in bytes determined by the size of the type.

Definition at line 180 of file MemoryManager.h.

References DetermineAlignment().


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