KaMPIng 0.1.1
Flexible and (near) zero-overhead C++ bindings for MPI
Loading...
Searching...
No Matches
kamping::internal::logical_xor_impl< void > Struct Reference

Template specialization for kamping::internal::logical_xor_impl without type parameter, which leaves to operand type to be deduced. The actual implementation is used in case that the operation is a builtin operation for the given datatype. More...

#include <mpi_ops.hpp>

Public Member Functions

template<typename T , typename S >
constexpr bool operator() (T const &lhs, S const &rhs) const
 Returns the logical xor of the two parameters.
 

Detailed Description

Template specialization for kamping::internal::logical_xor_impl without type parameter, which leaves to operand type to be deduced. The actual implementation is used in case that the operation is a builtin operation for the given datatype.

Member Function Documentation

◆ operator()()

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

Returns the logical xor of the two parameters.

Parameters
lhsthe left operand
rhsthe right operand
Template Parameters
Ttype of the left operand
Stype of the right operand
Returns
the logical xor

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