template<typename T>
struct gears::meta::class_of< T >
Class of meta function. Evaluates the underlying class of a member function pointer.
Example:
#include <gears/meta.hpp>
namespace meta = gears::meta;
struct f {
int g() {
return 10;
}
};
int main() {
static_assert(std::is_same<
meta::ClassOf<decltype(&f::g)>, f>::value,
"...");
}
Definition at line 237 of file meta/meta.hpp.