KaMPIng 0.1.1
Flexible and (near) zero-overhead C++ bindings for MPI
|
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. | |
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.
|
inlinestaticconstexpr |
Discard function to check whether a buffer provided to make_mpi_result() shall be discard or returned in the result object. call.
BufferType | BufferType to be checked. |
True
(i.e. discard) iff PredicateForResultObject discards this, or if the parameter uses serialization, so we don't expose serialization buffers to the user.