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 for the latest Boost documentation.
PrevUpHomeNext

Struct template capacity

boost::lockfree::capacity

Synopsis

// In header: <boost/lockfree/policies.hpp>

template<size_t Size> 
struct capacity : public boost::parameter::template_keyword< tag::capacity, boost::mpl::size_t< Size > >
{
};

Description

Sets the capacity of a data structure at compile-time.

This implies that a data structure is bounded and fixed-sized.


PrevUpHomeNext