Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Class allocator<void>

boost::mpi::allocator<void> — Allocator specialization for void value types.

Synopsis

// In header: <boost/mpi/allocator.hpp>


class allocator<void> {
public:
  // types
  typedef void * pointer;   
  typedef void   value_type;

  // member classes/structs/unions
  
  struct rebind {
    // types
    typedef allocator< U > other;
  };

  // public data members
  const typedef void * const_pointer;
};

Description

The void specialization of allocator is useful only for rebinding to another, different value type.


PrevUpHomeNext