Boost C++ Libraries 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 to view this page for the latest version.

Function operator-

boost::mpi::operator- — Computes the difference between two process groups.


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

BOOST_MPI_DECL group operator-(const group & g1, const group & g2);


This routine returns a new group that contains all processes that are in group g1 but not in group g2, ordered in the same way as g1. Equivalent to MPI_Group_difference.