ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::BoostMPICodec< Msg > Struct Template Reference

the bytes of a message by Boost.Serialization, in the packed archives of Boost.MPI, for MPICodec< Msg > More...

#include <ADS/distributed/BoostMPI.h>

Static public member functions

static void encode (const Msg &x, std::vector< std::byte > &out)
 the bytes of the packed archive of \( x \) appended to out
static Msg decode (std::span< const std::byte > b)
 the message of the bytes \( b \) of a packed archive

Detailed description

template<std::default_initializable Msg>
struct ADS::BoostMPICodec< Msg >

the bytes of a message by Boost.Serialization, in the packed archives of Boost.MPI, for MPICodec< Msg >

Member function documentation

◆ decode()

template<std::default_initializable Msg>
Msg ADS::BoostMPICodec< Msg >::decode ( std::span< const std::byte > b)
inlinestatic

the message of the bytes \( b \) of a packed archive

◆ encode()

template<std::default_initializable Msg>
void ADS::BoostMPICodec< Msg >::encode ( const Msg & x,
std::vector< std::byte > & out )
inlinestatic

the bytes of the packed archive of \( x \) appended to out


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