KaMPIng 0.1.0
(Near) zero-overhead C++ MPI bindings.
Loading...
Searching...
No Matches
kamping::internal::logical_xor_impl< T > Struct Template Reference

Wrapper struct for logical xor, as the standard library does not provided a function object for it. More...

#include <mpi_ops.hpp>

Public Member Functions

constexpr bool operator() (T const &lhs, T const &rhs) const
 Returns the logical xor of the two parameters.
 

Detailed Description

template<typename T>
struct kamping::internal::logical_xor_impl< T >

Wrapper struct for logical xor, as the standard library does not provided a function object for it.

The actual implementation is used in case that the operation is a builtin operation for the given datatype.

Template Parameters
Ttype of the operands

Member Function Documentation

◆ operator()()

template<typename T >
constexpr bool kamping::internal::logical_xor_impl< T >::operator() ( T const & lhs,
T const & rhs ) const
inlineconstexpr

Returns the logical xor of the two parameters.

Parameters
lhsthe first operand
rhsthe second operand
Returns
the logical xor

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