meta.hpp
meta.hpp copied to clipboard
C++20 Dynamic Reflection Library
I like the idea of a library, but I think there is one feature that would improve its use: the ability to resolve a type by name. This would allow...
steps to repro: 1. **set C++ Language Standard** to **Preview - Features from the Latest C++ Working Draft (/std:c++latest)** _Error:_ meta.hpp\meta_base\fixed_function.hpp(81,32): error C4996: 'std::aligned_storage_t': warning STL4034: std::aligned_storage and std::aligned_storage_t are...
for example, struct A{} struct B:A{} class test { std::shared_ptr calc() { return std::make_shared(); } how to upcast the result of calc method as std::shared_ptr by reflection.