Beast Logo

PrevUpHomeNext

static_string::static_string

Default constructor (empty string).

static_string();

Construct with count copies of character ch.

static_string(
    size_type count,
    CharT ch);

Construct with a substring (pos, other.size()) of other.

template<
    std::size_t M>
static_string(
    static_string< M, CharT, Traits > const& other,
    size_type pos);

Construct with a substring (pos, count) of other.

template<
    std::size_t M>
static_string(
    static_string< M, CharT, Traits > const& other,
    size_type pos,
    size_type count);

Construct with the first count characters of s, including nulls.

static_string(
    CharT const* s,
    size_type count);

Construct from a null terminated string.

static_string(
    CharT const* s);

Construct from a range of characters.

template<
    class InputIt>
static_string(
    InputIt first,
    InputIt last);

Copy constructor.

static_string(
    static_string const& other);

template<
    std::size_t M>
static_string(
    static_string< M, CharT, Traits > const& other);

Construct from an initializer list.

static_string(
    std::initializer_list< CharT > init);

Construct from a string_view

explicit
static_string(
    string_view_type sv);

Construct from any object convertible to string_view_type.

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

PrevUpHomeNext