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

Convenience for stateless types. More...

Static Public Member Functions

static T get (const std::byte *&)
 Construct an object.
 
template<class P >
static void put (P &, const T &)
 Do nothing.
 

Detailed Description

template<class T>
struct flecsi::util::serial::value< T >

Convenience for stateless types.

Derive their specialization of traits from it.

Template Parameters
Tdefault-constructible type with no significant state

Member Function Documentation

◆ put()

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

Do nothing.

◆ get()

template<class T >
static T get ( const std::byte *&  )
static

Construct an object.

Returns
T()