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::assign

Assign count copies of ch.

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

Assign from another static_string

static_string&
assign(
    static_string const& str);
  » more...

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

Assign count characterss starting at npos from other.

template<
    std::size_t M>
static_string&
assign(
    static_string< M, CharT, Traits > const& str,
    size_type pos,
    size_type count = npos);
  » more...

Assign the first count characters of s, including nulls.

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

Assign a null terminated string.

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

Assign from an iterator range of characters.

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

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

static_string&
assign(
    string_view_type str);
  » more...

Assign from any object convertible to string_view_type.

template<
    class T>
static_string&
assign(
    T const& t,
    size_type pos,
    size_type count = npos);
  » more...

PrevUpHomeNext