rttr

C++ reflection library enabling runtime type information and serialization

brewmacoslinux
Try with needOr install directly
Source

About

C++ Reflection Library

Commands

rttr

Examples

Include RTTR in a C++ project to enable runtime type reflection$ brew install rttr && cat /usr/local/opt/rttr/include/rttr/rttr.hpp
Compile a C++ program with RTTR reflection support$ clang++ -I/usr/local/opt/rttr/include -L/usr/local/opt/rttr/lib program.cpp -o program
Verify RTTR installation and view documentation$ brew info rttr && ls /usr/local/opt/rttr/share/doc/