[#BloombergLP-bsls-AlignedBuffer_Data] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::AlignedBuffer_Data :relfileprefix: ../../ :mrdocs: 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>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template< int SIZE, int ALIGNMENT> union AlignedBuffer_Data; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsls/AlignedBuffer_Data/AlignmentType.adoc[`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 [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bsls/AlignedBuffer_Data/d_buffer.adoc[`d_buffer`] [.small]#[variant member]# | Raw byte buffer of length `SIZE` aligned to `ALIGNMENT` bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#