BloombergLP::bsls::AlignmentFromType

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

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

Enums

NameDescription
Unnamed enum Compile-time alignment constants for TYPE.