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 for the latest Boost documentation.

Function operator&

boost::mpi::operator& — Computes the intersection of 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 and in group g2, ordered in the same way as g1. Equivalent to MPI_Group_intersection.