mlpack 3.4.2
Public Types | Static Public Attributes | List of all members
HasSerializeFunction< T > Struct Template Reference

#include <has_serialize.hpp>

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 34 of file has_serialize.hpp.

◆ StaticSerialize

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

Definition at line 37 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: