|
typedef char | no [2] |
|
typedef char | yes [1] |
|
|
template<typename U > |
static yes & | chk (check< U, typename boost::enable_if< boost::is_class< U >>::type *, typename boost::enable_if< HasSerializeFunction< U >>::type * > *) |
|
template<typename > |
static no & | chk (...) |
|
|
static const bool | value = (sizeof(chk<T>(0)) == sizeof(yes)) |
|
template<typename T>
struct mlpack::data::HasSerialize< T >
Definition at line 45 of file serialization_shim.hpp.
static yes& chk |
( |
check< U, typename boost::enable_if< boost::is_class< U >>::type *, typename boost::enable_if< HasSerializeFunction< U >>::type * > * |
| ) |
|
|
static |
const bool value = (sizeof(chk<T>(0)) == sizeof(yes)) |
|
static |
The documentation for this struct was generated from the following file: