Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2021. The current version is 1.90.0.
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 |
|---|---|
|
|
|