mlpack
Classes | Public Types | Static Public Member Functions | Static Public Attributes | List of all members
mlpack::data::HasSerialize< T > Struct Template Reference

Classes

struct  check
 

Public Types

typedef char yes[1]
 
typedef char no[2]
 

Static Public Member Functions

template<typename U >
static yes & chk (check< U, typename std::enable_if_t< std::is_class< U >::value > *, typename std::enable_if_t< HasSerializeFunction< U >::value > *> *)
 
template<typename >
static no & chk (...)
 

Static Public Attributes

static const bool value = (sizeof(chk<T>(0)) == sizeof(yes))
 

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