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

PrevUpHomeNext
static_string::static_string (12 of 12 overloads)

Construct from any object convertible to string_view_type.

Synopsis
template<
    class T>
static_string(
    T const& t,
    size_type pos,
    size_type n);
Description

The range (pos, n) is extracted from the value obtained by converting t to string_view_type, and used to construct the string.


PrevUpHomeNext