Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template devector_small_buffer_policy

boost::container::devector_small_buffer_policy

Synopsis

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

template<unsigned Size> 
struct devector_small_buffer_policy {

  // public member functions
   BOOST_STATIC_CONSTANT(unsigned, size = Size);
};

Description

Instructs devector to make space for Size elements inline with its internals, allowing to store that much elements without allocating memory.

Models the SmallBufferPolicy concept of the devector class.

devector_small_buffer_policy public member functions

  1.  BOOST_STATIC_CONSTANT(unsigned, size = Size);

PrevUpHomeNext