Documentation 6b54b78464
Loading...
Searching...
No Matches
CAlignTraits< Type > Struct Template Reference

Alignment of the static containers backing a flux value type. More...

#include <util.hpp>

Public Types

enum  : size_t { Align = alignof(Type) }
 

Detailed Description

template<class Type>
struct CAlignTraits< Type >

Alignment of the static containers backing a flux value type.

Note
Yields the type's own alignment for a SIMD array, and the plain type's natural alignment for a scalar; C2DContainer's AlignSize also accepts 0 to mean its own default, but that reaches alignas(0) on the static specializations, which some compilers warn about even though it is a no-op, so a real value is passed instead.

Member Enumeration Documentation

◆ anonymous enum

template<class Type >
anonymous enum : size_t
Enumerator
Align 

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