[#BloombergLP-bslstl-StringRefImp-02-2constructor-04] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/StringRefImp-02.adoc[StringRefImp<char>]::StringRefImp :relfileprefix: ../../../ :mrdocs: 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. == Synopsis Declared in `<bslstl_stringref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- StringRefImp(bsl::basic_string_view<char> const& str); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#