This struct computes (at compile time) a constant integral VALUE that specifies the required alignment for TYPE objects. Also provided is a typedef, Type, that is an alias for a primitive type that has the same alignment requirements as TYPE.

Synopsis

Declared in <bsls_alignmentfromtype.h>

template<class TYPE>
struct AlignmentFromType;

Type Aliases

Name

Description

Type

Alias for a primitive type that has the same alignment requirement as TYPE.

Enums

Name

Description

Unnamed enum

Compile‐time alignment constants for TYPE.

Created with MrDocs