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.

Synopsis

Declared in <bsls_alignedbuffer.h>

template<
    int SIZE,
    int ALIGNMENT>
union AlignedBuffer_Data;

Type Aliases

Name

Description

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.

Data Members

Name

Description

d_buffer [variant member]

Raw byte buffer of length SIZE aligned to ALIGNMENT bytes.

Created with MrDocs