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 a snapshot of the develop branch, built from commit 65eb09a2c6.
PrevUpHomeNext
static_string::assign (10 of 10 overloads)

Assign from any object convertible to string_view_type.

Synopsis
template<
    class T>
static_string&
assign(
    T const& t,
    size_type pos,
    size_type count = npos);
Description

The range (pos, n) is extracted from the value obtained by converting t to string_view_type, and used to assign the string.


PrevUpHomeNext