Boost C++ Libraries Home Libraries People FAQ More

PrevUpHomeNext

Struct template bitwise_or

boost::mpi::bitwise_or — Compute the bitwise OR of two integral values.

Synopsis

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

template<typename T> 
struct bitwise_or {
  // types
  typedef  ; 
  typedef  ;
  typedef  ;         

  // public member functions
   (, ) ;
};

Description

This binary function object computes the bitwise OR of the two values it is given. When used with MPI and a type T that has an associated, built-in MPI data type, translates to MPI_BOR.

bitwise_or public member functions

  1.  ( x,  y) ;

    Returns:

    the x | y.


PrevUpHomeNext