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
basic_static_string::basic_static_string (2 of 12 overloads)

Constructor.

Synopsis
constexpr
basic_static_string(
    size_type count,
    value_type ch);
Description

Construct the string with count copies of character ch. The behavior is undefined if count >= npos


PrevUpHomeNext