[#BloombergLP-bslstl-StringRefImp-02-2constructor-01] = 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 begins at the specified `begin` iterator and extends up to, but not including, the specified `end` iterator. The external representation must remain valid as long as it is bound to this string reference. The behavior is undefined unless `begin <= end`. Note that, like an `std::string`, the string need not be null‐terminated and may contain embedded null characters. == Synopsis Declared in `<bslstl_stringref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- StringRefImp( xref:BloombergLP/bslstl/StringRefImp-02/const_iterator.adoc[const_iterator] begin, xref:BloombergLP/bslstl/StringRefImp-02/const_iterator.adoc[const_iterator] end); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#