mlpack
|
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)) |