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

Function template operator==

boost::mpi::operator== — Compare two allocators for equality.

Synopsis

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


template<typename T1, typename T2> 
  bool operator==(const allocator< T1 > &, const allocator< T2 > &);

Description

Since MPI allocators have no state, all MPI allocators are equal.

Returns:

true


PrevUpHomeNext