A proxy object that has a static interface identical to the reflected functions and fields of the target.
More...
template<typename Derived, typename Target>
struct refl::runtime::proxy< Derived, Target >
A proxy object that has a static interface identical to the reflected functions and fields of the target.
A proxy object that has a static interface identical to the reflected functions and fields of the target. Users should inherit from this class and specify an invoke_impl(Member member, Args&&... args) function.
Examples:
template <typename T>
template <typename Member, typename Self, typename... Args>
static int invoke_impl(Self&& self, Args&&... args) {
std::cout <<
get_debug_name(Member()) <<
" called with " <<
sizeof...(Args) <<
" parameters!\n";
return 0;
}
};