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 master branch, built from commit 7789ef3d8d.
PrevUpHomeNext
string::max_size

Return the maximum number of characters any string can hold.

Synopsis
static
constexpr std::size_t
max_size();
Description

The maximum is an implementation-defined number. This value is a theoretical limit; at runtime, the actual maximum size may be less due to resource limits.

Complexity

Constant.


PrevUpHomeNext