Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::mpi::maximum< T > Struct Template Reference

Compute the maximum of two values. More...

#include <operations.hpp>

Inheritance diagram for boost::mpi::maximum< T >:
Collaboration diagram for boost::mpi::maximum< T >:

Public Member Functions

const Toperator() (const T &x, const T &y) const
 

Detailed Description

template<typename T>
struct boost::mpi::maximum< T >

Compute the maximum of two values.

This binary function object computes the maximum 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_MAX.

Member Function Documentation

template<typename T >
const T& boost::mpi::maximum< T >::operator() ( const T x,
const T y 
) const
inline
Returns
the maximum of x and y.

References boost::flyweights::x.


The documentation for this struct was generated from the following file: