I always thought that there is no reflection in C++ because the latter is totally native. But come to think of it, C++ already has RTTI, so why not add member pointers together with names and metadata to type_info?
Advertisement
Tags: C++, OOP, reflection, type info