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 for the latest Boost documentation.
PrevUpHomeNext
static_string::static_string

Default constructor (empty string).

static_string();
  » more...

Construct with count copies of character ch.

static_string(
    size_type count,
    CharT ch);
  » more...

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);
  » more...

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);
  » more...

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

static_string(
    CharT const* s,
    size_type count);
  » more...

Construct from a null terminated string.

static_string(
    CharT const* s);
  » more...

Construct from a range of characters.

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

Copy constructor.

static_string(
    static_string const& other);
  » more...

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

Construct from an initializer list.

static_string(
    std::initializer_list< CharT > init);
  » more...

Construct from a string_view

explicit
static_string(
    string_view_type sv);
  » more...

Construct from any object convertible to string_view_type.

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

PrevUpHomeNext