BloombergLP::bslstl::StringRefImp::assign

Bind this string reference to the same string as stringRef.

Synopsis

Declared in <bslstl_stringref.h>

void
assign(StringRefImp<CHAR_TYPE> const& stringRef);

Description

Modify this string reference to refer to the same string as the specified stringRef. Note, that the string bound to stringRef must remain valid as long as it is bound to this object.

Parameters

NameDescription
stringRefstring reference to assign from