copyString overloads
Synopses
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);
Return a datum owning a copy of the specified string.
static
Datum
copyString(
char const* string,
SizeType length,
AllocatorType const& allocator);
Return Value
-
a datum owning a copy of the string described by
value -
a datum owning a copy of the specified string
Parameters
Name |
Description |
value |
string to copy |
allocator |
memory allocator to use |
string |
UTF‐8 string to copy |
length |
length of |
Created with MrDocs