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

Predicate to check whether a buffer provided to make_mpi_result() shall be discard or returned in the result object, including a hotfix for serialization. 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, including a hotfix for serialization.

Member Function Documentation

◆ discard()

template<typename BufferType >
static constexpr bool kamping::internal::DiscardSerializationBuffers::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 PredicateForResultObject discards this, or if the parameter uses serialization, so we don't expose serialization buffers to the user.

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