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

Create a `StringRefData` object the specified `begin` and `end` attribute values&period; The behavior is undefined unless `begin &lt;&equals; end` and `!begin &equals;&equals; !end`&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
StringRefData(
    CHAR&lowbar;TYPE const* begin,
    CHAR&lowbar;TYPE const* end);
----


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