![]() |
Home | Libraries | People | FAQ | More |
Return a string view of a substring.
constexprbasic_static_string::string_view_typesubview(basic_static_string::size_typepos = 0,basic_static_string::size_typecount =basic_static_string::npos) const;
Returns a view of a substring.
Strong guarantee.
A string_view_type object
referring to {data() + pos, std::min(count, size() - pos)).
|
Name |
Description |
|---|---|
|
|
The index to being the substring at. The default argument for
this parameter is |
|
|
The length of the substring. The default argument for this parameter
is |
|
Type |
Thrown On |
|---|---|
|
|
|