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

Click here to view the latest version of this page.
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