Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext
basic_static_string::basic_static_string (12 of 12 overloads)

Construct a basic_static_string.

Synopsis
template<
    typename T,
    [role red error.class-detail-template.1][role red error.class-detail-template.2] = detail::enable_if_viewable_t<T, CharT, Traits>>
BOOST_STATIC_STRING_CPP14_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