Open jwinarske opened 3 months ago
For C++17 it would be a good option to use std::variant and not depend on RTTI
What types would be in the variant? In general the user can use arbitrary types, so there is no fixed list that would work for everyone.
Any type. See https://en.cppreference.com/w/cpp/utility/variant
For C++17 it would be a good option to use std::variant and not depend on RTTI