Return a bdld::Datum object that references, but does not own the specified string, possibly using the allocator of this object to obtain memory. Note that this can be used to refer to string literals. See bdld::Datum::createStringRef().
bdld::Datum
string
bdld::Datum::createStringRef()
Declared in <bdld_datummaker.h>
<bdld_datummaker.h>
bdld::Datum ref(bslstl::StringRef const& string) const;