BRE12
Public Types | Static Public Attributes | List of all members
internal::aligned_pair< T1, T2 > Struct Template Reference

Public Types

typedef type_plus_align< T1, T2, 0 > just_pair
 
typedef type_plus_align< T1, T2, remainder > type
 

Static Public Attributes

static const size_t t1_align = alignment_of<T1>::value
 
static const size_t t2_align = alignment_of<T2>::value
 
static const size_t max_align = t1_align < t2_align ? t2_align : t1_align
 
static const size_t extra_bytes = sizeof(just_pair) % max_align
 
static const size_t remainder = extra_bytes ? max_align - extra_bytes : 0
 

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