Create a blob by moving from original, using the specified allocator.
Synopsis
Declared in <bdlbb_blob.h>
Blob(
bslmf::MovableRef<Blob> original,
bslma::Allocator* basicAllocator);
Description
Create a blob object having the same value as the specified original object that uses the specified basicAllocator to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The contents of original are moved to the newly‐created object. original is left in a valid but unspecified state.
Parameters
Name |
Description |
original |
blob to move from |
basicAllocator |
allocator used to supply memory |
Created with MrDocs