[#BloombergLP-bsls-AlignedBuffer] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::AlignedBuffer :relfileprefix: ../../ :mrdocs: An instance of this union is a block of raw memory of specified `SIZE` and `ALIGNMENT`. A `AlignedBuffer` object does not manage the construction or destruction of any other objects. `SIZE` is rounded up to the nearest multiple of `ALIGNMENT`. An instantiation of this union template will not compile unless `ALIGNMENT` is a power of two not larger than `AlignmentUtil::BSLS_MAX_ALIGNMENT`. == Synopsis Declared in `<bsls_alignedbuffer.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< int SIZE, int ALIGNMENT = AlignmentUtil::BSLS_MAX_ALIGNMENT> class AlignedBuffer; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsls/AlignedBuffer/buffer-09.adoc[`buffer`] | `buffer` overloads |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#