BloombergLP::bslstl::StringRefImp::assign

Assign this ref to the specified data of the specified length.

Synopsis

Declared in <bslstl_stringref.h>

void
assign(
    CHAR_TYPE const* data,
    size_type length);

Parameters

NameDescription
dataaddress of the character sequence to reference
lengthnumber of characters in the sequence