![]() |
Home | Libraries | People | FAQ | More |
Copy a substring to another string.
constexprbasic_static_string::size_typecopy(basic_static_string::pointerdest,basic_static_string::size_typecount,basic_static_string::size_typepos = 0) const;
Copies std::min(count, size() - pos) characters starting at index pos to the string pointed to by dest.
The resulting string is not null terminated.
The number of characters copied.
|
Name |
Description |
|---|---|
|
|
The number of characters to copy. |
|
|
The string to copy to. |
|
|
The index to begin copying from. The default argument for this
parameter is |
|
Type |
Thrown On |
|---|---|
|
|
|