HasSerializeFunction< T > Struct Template Reference

Public Types

template
<
typename
C
>
using NonStaticSerialize = void(C::*)(boost::archive::xml_oarchive &, const unsigned int)
 
template
<
typename
>
using StaticSerialize = void(*)(boost::archive::xml_oarchive &, const unsigned int)
 

Static Public Attributes

static const bool value
 

Detailed Description


template
<
typename
T
>

struct mlpack::data::HasSerializeFunction< T >

Definition at line 31 of file has_serialize.hpp.

Member Typedef Documentation

◆ NonStaticSerialize

using NonStaticSerialize = void(C::*)(boost::archive::xml_oarchive&, const unsigned int)

Definition at line 35 of file has_serialize.hpp.

◆ StaticSerialize

using StaticSerialize = void(*)(boost::archive::xml_oarchive&, const unsigned int)

Definition at line 38 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 40 of file has_serialize.hpp.


The documentation for this struct was generated from the following file:
  • /home/jenkins-mlpack/mlpack.org/_src/mlpack-3.3.2/src/mlpack/core/data/has_serialize.hpp