FleCSI User API Version: 2.3.0
 
Loading...
Searching...
No Matches
traits< T, E > Struct Template Reference

Extension point for serialization. More...

Static Public Member Functions

static T get (const std::byte *&)
 Reconstruct an object.
 
template<class P >
static void put (P &p, const T &)
 Serialize an object.
 

Detailed Description

template<class T, class E = void>
struct flecsi::util::serial::traits< T, E >

Extension point for serialization.

The primary template is not really a complete type.

Template Parameters
Tobject type
Eunused SFINAE hook

Member Function Documentation

◆ put()

template<class T , class E = void>
template<class P >
static void put ( P &  p,
const T &   
)
static

Serialize an object.

Template Parameters
Psee serial::put

◆ get()

template<class T , class E = void>
static T get ( const std::byte *&  )
static

Reconstruct an object.