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

Class template simple_seq_fit

boost::interprocess::simple_seq_fit

Synopsis

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

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

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

Description

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.


PrevUpHomeNext