boost::mpi::operator== — Determines whether two communicators are identical.
// In header: <boost/mpi/communicator.hpp> BOOST_MPI_DECL bool operator==(const communicator & comm1, const communicator & comm2);
Equivalent to calling MPI_Comm_compare and checking whether the result is MPI_IDENT.
MPI_Comm_compare
MPI_IDENT
Returns:
True when the two communicators refer to the same underlying MPI communicator.