Boost C++ Libraries 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.

Class template simple_seq_fit



// In header: <boost/interprocess/mem_algo/simple_seq_fit.hpp>

template<typename MutexFamily, typename VoidPointer> 
class simple_seq_fit {
  // types
  typedef base_t::size_type size_type;

  // construct/copy/destruct
  simple_seq_fit(size_type, size_type);


This class implements the simple sequential fit algorithm with a simply linked list of free buffers.

simple_seq_fit public construct/copy/destruct

  1. simple_seq_fit(size_type segment_size, size_type extra_hdr_bytes);

    Constructor. "size" is the total size of the managed memory segment, "extra_hdr_bytes" indicates the extra bytes beginning in the sizeof(simple_seq_fit) offset that the allocator should not use at all.