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
boost::mpi::bitwise_and — Compute the bitwise AND of two integral values.
// In header: <boost/mpi/operations.hpp> template<typename T> struct bitwise_and { // public member functions T operator()(const T &, const T &) const; };