5#ifndef IPPL_MPI_STATUS_H
6#define IPPL_MPI_STATUS_H
31 std::optional<int>
count();
34 operator MPI_Status*()
noexcept {
return &
status_m; }
36 operator const MPI_Status*()
const noexcept {
return &
status_m; }
49 int count = MPI_UNDEFINED;
53 if (
count == MPI_UNDEFINED) {
54 return std::optional<int>();
MPI_Datatype get_mpi_datatype(const T &)
std::optional< int > count()
Status(const Status &)=default
Status & operator=(Status &other)=default
int source() const noexcept
int error() const noexcept