Create an empty blob using the specified factory to allocate buffers.

Synopsis

Declared in <bdlbb_blob.h>

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

Description

Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

Name

Description

factory

factory used to allocate blob buffers

basicAllocator

allocator used to supply memory

Created with MrDocs