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

Struct template cache_begin

boost::container::cache_begin

Synopsis

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

template<bool Enabled> 
struct cache_begin {
};

Description

This option setter specifies if the container will cache the first non-empty bucket so that begin() is O(1) instead of searching for the first non-empty bucket (which can be O(bucket_size()))


PrevUpHomeNext