#include #include struct with_clear { void clear() {} }; struct wo_clear { }; struct with_clear_but_args { void clear(int) {} }; struct with_clear_const { void clear() const {} }; int main() { using namespace CGAL::internal; static_assert(Has_member_clear::value); static_assert(!Has_member_clear::value); static_assert(!Has_member_clear::value); static_assert(Has_member_clear::value); return 0; }