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 null_index

boost::interprocess::null_index

Synopsis

// In header: <boost/interprocess/indexes/null_index.hpp>

template<typename MapConfig> 
class null_index {
public:
  // types
  typedef void *       iterator;      
  typedef const void * const_iterator;

  // construct/copy/destruct
  null_index(segment_manager_base *);

  // public member functions
  const_iterator begin() const;
  iterator begin();
  const_iterator end() const;
  iterator end();
};

Description

Null index type used to save compilation time when named indexes are not needed.

null_index public construct/copy/destruct

  1. null_index(segment_manager_base *);
    Empty constructor.

null_index public member functions

  1. const_iterator begin() const;

    begin() is equal to end()

  2. iterator begin();

    begin() is equal to end()

  3. const_iterator end() const;

    begin() is equal to end()

  4. iterator end();

    begin() is equal to end()


PrevUpHomeNext