KaMPIng 0.1.0
(Near) zero-overhead C++ MPI bindings.
Loading...
Searching...
No Matches
kamping::internal::PredicateForResultObject Struct Reference

Predicate to check whether a buffer provided to make_mpi_result() shall be discard or returned in the result object. More...

#include <result.hpp>

Static Public Member Functions

template<typename BufferType >
static constexpr bool discard ()
 Discard function to check whether a buffer provided to make_mpi_result() shall be discard or returned in the result object. call.
 

Detailed Description

Predicate to check whether a buffer provided to make_mpi_result() shall be discard or returned in the result object.

Member Function Documentation

◆ discard()

template<typename BufferType >
static constexpr bool kamping::internal::PredicateForResultObject::discard ( )
inlinestaticconstexpr

Discard function to check whether a buffer provided to make_mpi_result() shall be discard or returned in the result object. call.

Template Parameters
BufferTypeBufferType to be checked.
Returns
True (i.e. discard) iff Arg's parameter_type is sparse_send_buf, on_message or destination.

< Predicate which Head has to fulfill to be kept.


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