Boost C++ Libraries Home Libraries People FAQ More

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 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