rttr
rttr copied to clipboard
Tutorial error
struct Base {};
struct Derived : Base {};
Derived d;
Base& base = d;
type::get<Derived>() == type::get(base) // yields to false on my computer
OS: macos 10.14.5 rttr: rttr-0.9.6 clang : Apple LLVM version 10.0.1 (clang-1001.0.46.4) Target: x86_64-apple-darwin18.6.0
same like you.