BloombergLP::bslstl::StringRefImp::assign

Bind this string reference to the specified string.

Synopsis

Declared in <bslstl_stringref.h>

void
assign(bsl::basic_string<CHAR_TYPE> const& str);

Description

Bind this string reference to the specified str string. The string indicated by str must remain valid as long as it is bound to this object.

Parameters

NameDescription
strstring whose contents are referenced