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.
Declared in <bsls_alignmentfromtype.h>
template<class TYPE>
struct AlignmentFromType;
| Name | Description |
|---|---|
Type | Alias for a primitive type that has the same alignment requirement as TYPE. |
| Name | Description |
|---|---|
Unnamed enum | Compile-time alignment constants for TYPE. |