BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bsls::AlignmentFromType< TYPE > Struct Template Reference

#include <bsls_alignmentfromtype.h>

Public Types

enum  { VALUE = AlignmentImpCalc<TYPE>::VALUE }
 
typedef AlignmentToType< VALUE >::Type Type
 

Detailed Description

template<class TYPE>
struct bsls::AlignmentFromType< TYPE >

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.

Member Typedef Documentation

◆ Type

template<class TYPE >
typedef AlignmentToType<VALUE>::Type bsls::AlignmentFromType< TYPE >::Type

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

Member Enumeration Documentation

◆ anonymous enum

template<class TYPE >
anonymous enum

Compile-time constant that specifies the required alignment for TYPE.

Enumerator
VALUE 

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