// file : cutl/meta/class-p.hxx // author : Boris Kolpackov // copyright : Copyright (c) 2009 Code Synthesis Tools CC // license : MIT; see accompanying LICENSE file #ifndef CUTL_META_CLASS_HXX #define CUTL_META_CLASS_HXX #include namespace cutl { namespace meta { template struct class_p { template static no test (...); template static yes test (void* Y::*); static bool const r = sizeof ( class_p::template test (0)) == sizeof (yes); }; } } #endif // CUTL_META_CLASS_HXX