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 an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext
basic_static_string::basic_static_string (12 of 12 overloads)

Constructor.

Synopsis
template<
    typename T>
constexpr
basic_static_string(
    const T& t,
    size_type pos,
    size_type n);
Description

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


PrevUpHomeNext