[#BloombergLP-bslstl-StringRefImp-0c-2constructor-08] = 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 the specified `length` characters. == Synopsis Declared in `<bslstl_stringref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- StringRefImp( CHAR_TYPE const* data, xref:BloombergLP/bslstl/StringRefImp-0c/size_type.adoc[size_type] length); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#