Thrill  0.1
Serialization< Archive, T, typename std::enable_if< std::is_pod< T >::value &&!std::is_pointer< T >::value >::type > Struct Template Reference

Detailed Description

template<typename Archive, typename T>
struct thrill::data::Serialization< Archive, T, typename std::enable_if< std::is_pod< T >::value &&!std::is_pointer< T >::value >::type >

Definition at line 35 of file serialization.hpp.

#include <serialization.hpp>

Static Public Member Functions

static T Deserialize (Archive &ar)
 
static void Serialize (const T &x, Archive &ar)
 

Static Public Attributes

static constexpr size_t fixed_size = sizeof(T)
 
static constexpr bool is_fixed_size = true
 

Member Function Documentation

◆ Deserialize()

static T Deserialize ( Archive &  ar)
inlinestatic

Definition at line 44 of file serialization.hpp.

◆ Serialize()

static void Serialize ( const T x,
Archive &  ar 
)
inlinestatic

Definition at line 41 of file serialization.hpp.

References gen_data::x.

Member Data Documentation

◆ fixed_size

constexpr size_t fixed_size = sizeof(T)
static

Definition at line 48 of file serialization.hpp.

◆ is_fixed_size

constexpr bool is_fixed_size = true
static

Definition at line 47 of file serialization.hpp.


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