HasSerializeFunction< T > Struct Template Reference

Public Types

template
<
typename
C
>
using NonStaticSerialize = void(C::*)(cereal::XMLOutputArchive &, const uint32_t version)
 
template
<
typename
>
using StaticSerialize = void(*)(cereal::XMLOutputArchive &, const uint32_t version)
 

Static Public Attributes

static const bool value
 

Detailed Description


template
<
typename
T
>

struct mlpack::data::HasSerializeFunction< T >

Definition at line 32 of file has_serialize.hpp.

Member Typedef Documentation

◆ NonStaticSerialize

using NonStaticSerialize = void(C::*)(cereal::XMLOutputArchive&, const uint32_t version)

Definition at line 36 of file has_serialize.hpp.

◆ StaticSerialize

using StaticSerialize = void(*)(cereal::XMLOutputArchive&, const uint32_t version)

Definition at line 40 of file has_serialize.hpp.

Member Data Documentation

◆ value

const bool value
static
Initial value:
= HasSerializeCheck<T, NonStaticSerialize>::value ||
HasSerializeCheck<T, StaticSerialize>::value

Definition at line 42 of file has_serialize.hpp.


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