![]() |
Home | Libraries | People | FAQ | More |
Return a string view of a substring.
constexpr string_view_type subview( size_type pos = 0, size_type count = 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 arugment for
this parameter is |
|
The length of the substring. The default arugment for this parameter
is |
Type |
Thrown On |
---|---|
|
|