Private char array of specified SIZE aligned to ALIGNMENT.

Synopsis

Declared in <bsls_alignedbuffer.h>

template<
    int SIZE,
    int ALIGNMENT>
union AlignedBuffer_Data;

Description

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.

Type Aliases

Name

Description

AlignmentType

Alias for the alignment type used by this union.

Data Members

Name

Description

d_buffer [variant member]

Raw byte buffer of length SIZE aligned to ALIGNMENT bytes.

Created with MrDocs