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 the documentation for a snapshot of the master branch, built from commit 5002c2d6a2.
PrevUpHomeNext
string::operator string_view

Convert to a string_view referring to the string.

Synopsis
operator string_view() const;
Description

Returns a string view to the underlying character string. The size of the view does not include the null terminator.

Complexity

Constant.


PrevUpHomeNext