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

#include <mpi/datatypes.hpp>

Detailed Description

A concept that checks if objects of a type can be serialized and deserialized.

Template Parameters
TType to check.

Definition at line 122 of file datatypes.hpp.

Concept definition

template<typename T>
concept mpi::Serializable = requires(const T ac, T a, detail::serialize_checker ar) {
{ ac.serialize(ar) } -> std::same_as<void>;
{ a.deserialize(ar) } -> std::same_as<void>;
}
A concept that checks if objects of a type can be serialized and deserialized.