| Home | Libraries | People | FAQ | More

## Class allocator<void>

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

## Synopsis

    class allocator<void> {
    public:
      // types
      typedef void *       pointer;
      typedef const void * const_pointer;
      typedef void         value_type;
      template<typename U>
      struct rebind {
        // types
        typedef allocator< U > other;
      };
    };

## Description

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