[#BloombergLP-bslstl-StringRefImp-0a-empty] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/StringRefImp-0a.adoc[StringRefImp<wchar_t>]::empty :relfileprefix: ../../../ :mrdocs: Return `true` if this object represents an empty string value, and `false` otherwise. This object represents an empty string value if `begin() == end()`. Note that this method is functionally identical with the `isEmpty` method and allows developers to avoid distracting syntax differences when `StringRef` appears in juxtaposition with `string`, which defines `empty` but not `isEmpty`. == Synopsis Declared in `<bslstl_stringref.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool empty() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#