[#BloombergLP-bslstl-StringRefImp-0c-2constructor-0df] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/StringRefImp-0c.adoc[StringRefImp]::StringRefImp :relfileprefix: ../../../ :mrdocs: Create a string‐reference object having a valid `std::string` value, whose external representation begins at the specified `data` address and extends for `std::char_traits<CHAR_TYPE>::length(data)` characters. The external representation must remain valid as long as it is bound to this string reference. The behavior is undefined unless `data` is null‐terminated. == Synopsis Declared in `<bslstl_stringref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- StringRefImp(CHAR_TYPE const* data); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#