3 ms·
In addition to what others have already mentions, you can use tagged unions as an alternative of subtype polymorphism., for example with std::variant.
by Betadel 9y ago
In addition to what others have already mentions, you can use tagged unions as an alternative of subtype polymorphism., for example with std::variant.