BloombergLP::bdlbb::Blob::Blob

Create an empty blob having no factory to allocate blob buffers.

Synopsis

Declared in <bdlbb_blob.h>

explicit
Blob(bslma::Allocator* basicAllocator = 0);

Description

Since there is no factory, the behavior is undefined if the length of the blob is set beyond the total size. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

NameDescription
basicAllocatorallocator used to supply memory