|
| 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.
◆ no
◆ yes
◆ chk() [1/2]
| static yes& chk |
( |
check< U, typename boost::enable_if< boost::is_class< U >>::type *, typename boost::enable_if< HasSerializeFunction< U >>::type *> * |
| ) |
|
|
static |
◆ chk() [2/2]
◆ value
| const bool value = (sizeof(chk<T>(0)) == sizeof(yes)) |
|
static |
The documentation for this struct was generated from the following file: