[#BloombergLP-bdlma-BufferManager-2constructor-0c7] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlma.adoc[bdlma]::xref:BloombergLP/bdlma/BufferManager.adoc[BufferManager]::BufferManager :relfileprefix: ../../../ :mrdocs: Create a buffer manager for allocating memory blocks. Optionally specify an alignment `strategy` used to align allocated memory blocks. If `strategy` is not specified, natural alignment is used. A default constructed buffer manager is unable to allocate any memory until an external buffer is provided by calling the `replaceBuffer` method. == Synopsis Declared in `<bdlma_buffermanager.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit BufferManager(xref:BloombergLP/bsls/Alignment/Strategy.adoc[bsls::Alignment::Strategy] strategy = bsls::Alignment::BSLS_NATURAL); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#