[#BloombergLP-bslstl-StringRefImp-02-2constructor-04]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/StringRefImp-02.adoc[StringRefImp&lt;char&gt;]::StringRefImp
:relfileprefix: ../../../
:mrdocs:

Create a string&hyphen;reference object having a valid `std&colon;&colon;string` value, whose external representation is defined by the specified `str` object&period; The external representation must remain valid as long as it is bound to this string reference&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;stringref&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
StringRefImp(bsl::basic&lowbar;string&lowbar;view&lt;char&gt; const& str);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
