All Classes Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
gears::meta::class_of< T > Struct Template Reference

Class of meta function. More...

Detailed Description

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() {
// passes static_assert
static_assert(std::is_same<meta::ClassOf<decltype(&f::g)>, f>::value, "...");
}

Definition at line 237 of file meta/meta.hpp.