TRIQS/mpi 1.3.0
C++ interface to MPI
Loading...
Searching...
No Matches
mpi::MPICompatibleRange Concept Reference

#include <mpi/generic_communication.hpp>

Detailed Description

A concept that checks if a range type is contiguous and sized and has an MPI compatible value type.

Template Parameters
RRange type.

Definition at line 48 of file generic_communication.hpp.

Concept definition

template<typename R>
concept mpi::MPICompatibleRange = std::ranges::contiguous_range<R> && std::ranges::sized_range<R> && has_mpi_type<std::ranges::range_value_t<R>>
A concept that checks if a range type is contiguous and sized and has an MPI compatible value type.
constexpr bool has_mpi_type
Type trait to check if a type T has a corresponding MPI datatype, i.e. if mpi::mpi_type has been spec...
Definition datatypes.hpp:98