This struct provides a namespace for a suite of pure procedures for allocating memory from a buffer.
Synopsis
Declared in <bdlma_bufferimputil.h>
struct BufferImpUtil;
Static Member Functions
Name |
Description |
Allocate a memory block from a buffer using the specified alignment strategy. |
|
Allocate a memory block from a buffer using the specified alignment strategy, without checking capacity. |
|
Allocate a maximally‐aligned memory block from a buffer. |
|
Allocate a maximally‐aligned memory block from a buffer, without checking capacity. |
|
Allocate a naturally‐aligned memory block from a buffer. |
|
Allocate a naturally‐aligned memory block from a buffer, without checking capacity. |
|
Allocate a 1‐byte‐aligned memory block from a buffer. |
|
Allocate a 1‐byte‐aligned memory block from a buffer, without checking capacity. |
Created with MrDocs