BloombergLP::bsls::AlignedBuffer_Data

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

NameDescription
AlignmentType Alias for the alignment type used by this union.

Data Members

NameDescription
d_buffer [variant member]Raw byte buffer of length SIZE aligned to ALIGNMENT bytes.