[#BloombergLP-bslstl-StringRefImp-0c-2constructor-049] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/StringRefImp-0c.adoc[StringRefImp]::StringRefImp :relfileprefix: ../../../ :mrdocs: Create a string reference to external character data. == Synopsis Declared in `<bslstl_stringref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- StringRefImp(bsl::basic_string_view<CHAR_TYPE> const& str); ---- == Description Create a string‐reference object having a valid `std::string` value, whose external representation is defined by the specified `str` object. The external representation must remain valid as long as it is bound to this string reference. == Parameters [cols="1,4"] |=== | Name| Description | *str* | string view whose contents are referenced |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#