[#BloombergLP-bslstl-StringRefData-04-2constructor-0a]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/StringRefData-04.adoc[StringRefData]::StringRefData
:relfileprefix: ../../../
:mrdocs:

Create a `StringRefData` object from the specified `view`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
StringRefData(bsl::basic&lowbar;string&lowbar;view&lt;CHAR&lowbar;TYPE&gt; const& view);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *view*
| string view providing the referenced character range
|===


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