Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
basic_static_string::basic_static_string (12 of 12 overloads)

Constructor.

Synopsis
template<
    [role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type][role red error.param neither has a declname nor a 'class ' prefix in the type]>
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