mlpack
master
|
Classes | |
struct | check |
Public Types | |
typedef char | no[2] |
typedef char | yes[1] |
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)) |
Definition at line 46 of file serialization_shim.hpp.
typedef char mlpack::data::HasSerialize< T >::no[2] |
Definition at line 50 of file serialization_shim.hpp.
typedef char mlpack::data::HasSerialize< T >::yes[1] |
Definition at line 49 of file serialization_shim.hpp.
|
static |
|
static |
|
static |
Definition at line 58 of file serialization_shim.hpp.