We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Reflection::IndexOf<auto MemberPtr>
supposed this:
struct S { int foo; std::string bar; }; static_assert(Reflection::IndexOf<&S::foo> == 0); static_assert(Reflection::IndexOf<&S::bar> == 1);
It would be nice to get this functionality to retrieve the index of a field by symbolic name.