insertBufferIfValid overloads
Synopses
Declared in <bdlbb_blobutil.h>
Insert a moved buffer at an index in dest if size limits allow.
static
int
insertBufferIfValid(
Blob* dest,
int index,
bslmf::MovableRef<BlobBuffer> buffer);
Insert a buffer at an index in dest if size limits allow.
static
int
insertBufferIfValid(
Blob* dest,
int index,
BlobBuffer const& buffer);
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
dest |
destination blob |
index |
buffer index at which to insert |
buffer |
buffer to move‐insert |
Created with MrDocs