...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Return a view.
string_view subview( std::size_t pos, std::size_t count = npos) const;
Returns a view of a substring.
Strong guarantee.
this->subview().substr(pos, count)
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 |
---|---|
|
|