#include "refl/vertex.h" union MemberMethod { using F1 = int(*)(int); using F2 = void(*)(); F1 f1; F2 f2; constexpr MemberMethod(F1 f):f1(f) { } constexpr MemberMethod(F2 f) :f2(f) { } }; void test() { } template void print(T* t) { } int main() { //auto& cls = TypeInfo::StaticClass; //int FList[3]{}; //auto norm = MakeMethodField(&vec3::norm,"norm"); MakeStaticFields(vec3::__GetFields()); std::cout << "hello world\n"; return 0; }