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 b9ab49fc70.
PrevUpHomeNext

Struct template throw_on_overflow

boost::container::throw_on_overflow

Synopsis

// In header: <boost/container/options.hpp>

template<bool ThrowOnOverflow> 
struct throw_on_overflow {
};

Description

This option specifies if the container will throw if in the static capacity is not sufficient to hold the required values. If false is specified, insufficient capacity will lead to BOOST_ASSERT, and if this assertion returns, to undefined behaviour, which potentially can lead to better static_vector performance. The default value is true.


PrevUpHomeNext