6 #ifndef TAPKEE_CALLBACK_TRAITS_H_ 7 #define TAPKEE_CALLBACK_TRAITS_H_ 12 template <
class Callback>
17 #define TAPKEE_CALLBACK_SUPPORTS_BATCH(X) \ 18 template<> const bool BatchCallbackTraits<X>::supports_batch = true; \ 26 template <
typename C>
static yes dummy(
typename C::dummy*);
27 template <
typename C>
static no dummy(...);
30 static const bool value = (
sizeof(dummy<T>(0)) ==
sizeof(
yes));
static yes dummy(typename C::dummy *)
static const bool supports_batch