Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

basic_static_string::available

Return the number of additional characters that can be stored.

Synopsis
constexpr basic_static_string::size_type
available() const noexcept;
Description

Returns max_size() - size(), i.e. the number of characters that can still be inserted before the string reaches its capacity.

Complexity

Constant.


PrevUpHomeNext