Quick Links:

bal | bbl | bdl | bsl

Public Types | Public Attributes

bsls::AlignedBuffer_Data< SIZE, ALIGNMENT > Union Template Reference

#include <bsls_alignedbuffer.h>

List of all members.

Public Types

typedef AlignmentToType
< ALIGNMENT >::Type 
AlignmentType

Public Attributes

char d_buffer [SIZE]
AlignmentType d_align

Detailed Description

template<int SIZE, int ALIGNMENT>
union bsls::AlignedBuffer_Data< SIZE, ALIGNMENT >

This private implementation type provides a public char array data member d_buffer whose length is the specifed (template parameter) SIZE and which is aligned according to the specified (template parameter) ALIGNMENT.

See Component bsls_alignedbuffer


Member Typedef Documentation

template<int SIZE, int ALIGNMENT>
typedef AlignmentToType<ALIGNMENT>::Type bsls::AlignedBuffer_Data< SIZE, ALIGNMENT >::AlignmentType

Member Data Documentation

template<int SIZE, int ALIGNMENT>
char bsls::AlignedBuffer_Data< SIZE, ALIGNMENT >::d_buffer[SIZE]

< The C++03 implementation uses a union data member to ensure the alignment of d_buffer.

template<int SIZE, int ALIGNMENT>
AlignmentType bsls::AlignedBuffer_Data< SIZE, ALIGNMENT >::d_align

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