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 operator==

boost::mpi::operator== — Determines whether two communicators are identical.

Synopsis

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


BOOST_MPI_DECL bool 
operator==(const communicator & comm1, const communicator & comm2);

Description

Equivalent to calling MPI_Comm_compare and checking whether the result is MPI_IDENT.

Returns:

True when the two communicators refer to the same underlying MPI communicator.


PrevUpHomeNext