Return a view. @li **(1)** equivalent to `subview().substr(pos, count)`. @li **(2)** equivalent to `string_view(data(), size())`. @par Exception Safety Strong guarantee. @param pos The index of the first character of the substring. @param count The length of the substring. @throw boost::system::system_error `pos > ` @ref size(). */
| 1600 | @throw boost::system::system_error `pos > ` @ref size(). |
| 1601 | */ |
| 1602 | string_view |
| 1603 | subview( |
| 1604 | std::size_t pos, |
| 1605 | std::size_t count = npos) const |
| 1606 | { |
| 1607 | return subview().substr(pos, count); |
| 1608 | } |
| 1609 | |
| 1610 | /// Overload |
| 1611 | string_view |
no test coverage detected