BDE 4.14.0 Production release
|
#include <bsls_alignedbuffer.h>
Public Types | |
typedef AlignmentToType< ALIGNMENT >::Type | AlignmentType |
Public Attributes | |
char | d_buffer [SIZE] |
AlignmentType | d_align |
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
.
typedef AlignmentToType<ALIGNMENT>::Type bsls::AlignedBuffer_Data< SIZE, ALIGNMENT >::AlignmentType |
Define an alias for alignment type to work around a Sun CC 5.5 bug that gives a warning if the type is directly accessed in the union. Note that to allow the union to access this typedef it must be declared with public access.
AlignmentType bsls::AlignedBuffer_Data< SIZE, ALIGNMENT >::d_align |
char bsls::AlignedBuffer_Data< SIZE, ALIGNMENT >::d_buffer[SIZE] |