79616217

Date: 2025-05-11 06:10:25
Score: 0.5
Natty:
Report link
template<class>
struct class_of;
template<class T, class C>
struct class_of<T C::*> { using type = C; };

template <typename T>
void GeorgeFunc(T fp)
{
  typename class_of<T>::type obj;
  (obj.*fp)();
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: leekillough