7 #ifndef __FWCAMP_CAMP_TRAITS_HPP__ 8 #define __FWCAMP_CAMP_TRAITS_HPP__ 10 #include <camp/detail/yesnotype.hpp> 19 template <
typename U>
static camp::detail::TypeYes check(
typename U::mapped_type*);
20 template <
typename U>
static camp::detail::TypeNo check(...);
23 template <
typename U>
static camp::detail::TypeNo checkSptr(
typename U::sptr*);
24 template <
typename U>
static camp::detail::TypeYes checkSptr(...);
27 sizeof(check< T >(0)) ==
sizeof(camp::detail::TypeYes)
28 &&
sizeof(checkSptr< T >(0)) ==
sizeof(camp::detail::TypeYes)