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 to view this page for the latest version.
PrevUpHomeNext

Class template simple_seq_fit

boost::interprocess::simple_seq_fit

Synopsis

template<typename MutexFamily, typename VoidPointer> 
class simple_seq_fit {
public:
  // construct/copy/destruct
  simple_seq_fit(std::size_t, std::size_t);
};

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(std::size_t size, std::size_t 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