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 to view this page for the latest version.
PrevUpHomeNext
string::assign

Assign characters to a string.

string&
assign(
    std::size_t count,
    char ch);
  » more...

string&
assign(
    string const& other);
  » more...

string&
assign(
    string&& other);
  » more...

string&
assign(
    char const* s,
    std::size_t count);
  » more...

string&
assign(
    char const* s);
  » more...

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

string&
assign(
    string_view s);
  » more...

PrevUpHomeNext