OpenEnroth cf228e9
Loading...
Searching...
No Matches
Classes | Macros | Variables
BinaryFwd.h File Reference
#include <type_traits>

Classes

struct  is_memcopy_serializable< T >
 

Macros

#define MM_DECLARE_MEMCOPY_SERIALIZABLE(T)
 

Variables

template<class T >
constexpr bool is_memcopy_serializable_v = is_memcopy_serializable<T>::value
 

Macro Definition Documentation

◆ MM_DECLARE_MEMCOPY_SERIALIZABLE

#define MM_DECLARE_MEMCOPY_SERIALIZABLE (   T)
Value:
template<> \
struct is_memcopy_serializable<T> : std::true_type {};
Definition: BinaryFwd.h:18

Invoke this macro for a type to use it with binary serialization functions via simple memory copy.

Parameters
TType to declare as memcopy-serializable.

Variable Documentation

◆ is_memcopy_serializable_v

template<class T >
constexpr bool is_memcopy_serializable_v = is_memcopy_serializable<T>::value
constexpr