copyString overloads
Declared in <bdld_datum.h>
Return a datum owning a copy of the string described by value.
static
Datum
copyString(
bslstl::StringRef const& value,
AllocatorType const& allocator);
» more...
Return a datum owning a copy of the specified string.
static
Datum
copyString(
char const* string,
SizeType length,
AllocatorType const& allocator);
» more...
value| Name | Description |
|---|---|
| value | string to copy |
| allocator | memory allocator to use |
| string | UTF-8 string to copy |
| length | length of string in bytes |