Constructors
Synopses
Declared in <bdlma_buffermanager.h>
Create a buffer manager for allocating memory blocks.
explicit
BufferManager(bsls::Alignment::Strategy strategy = bsls::Alignment::BSLS_NATURAL);
Create a buffer manager that allocates from the specified external buffer.
BufferManager(
char* buffer,
bsls::Types::size_type bufferSize,
bsls::Alignment::Strategy strategy = bsls::Alignment::BSLS_NATURAL);
Parameters
Name |
Description |
strategy |
alignment strategy for allocated memory blocks |
buffer |
external buffer from which to allocate |
bufferSize |
size in bytes of |
Created with MrDocs