createStringRef overloads
Declared in <bdld_datum.h>
Return a datum referring to the string described by value.
static
Datum
createStringRef(
bslstl::StringRef const& value,
AllocatorType const& allocator);
» more...
Return a datum referring to the specified null-terminated string.
static
Datum
createStringRef(
char const* string,
AllocatorType const& allocator);
» more...
Return a datum referring to the specified string without copying it.
static
Datum
createStringRef(
char const* string,
SizeType length,
AllocatorType const& allocator);
» more...
value| Name | Description |
|---|---|
| value | string reference to wrap |
| allocator | memory allocator to use |
| string | UTF-8 null-terminated string to reference |
| length | length of string in bytes |