Classes | |
struct | jb_enable_if |
struct | jb_enable_if< false, T > |
Defines | |
#define | JETBYTE_HAS_MEMBER_FUNCTION(func, name) |
#define JETBYTE_HAS_MEMBER_FUNCTION | ( | func, | |||
name | ) |
Value:
template<typename T1, typename Sign> \ struct name { \ typedef char yes[1]; \ typedef char no [2]; \ template <typename U, U> struct type_check; \ template <typename _1> static yes &chk(type_check<Sign, &_1::func > *); \ template <typename > static no &chk(...); \ static bool const value = sizeof(chk<T1>(0)) == sizeof(yes); \ }