Create an empty blob using the specified factory to allocate buffers.
Declared in <bdlbb_blob.h>
explicit
Blob(
BlobBufferFactory* factory,
bslma::Allocator* basicAllocator = 0);
Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.
| Name | Description |
|---|---|
| factory | factory used to allocate blob buffers |
| basicAllocator | allocator used to supply memory |