4 ms·
You bet; see std::variant<>. Great for closed-world polymorphism with compilation-time checking of completeness!
by pklausler 6y ago
You bet; see std::variant<>. Great for closed-world polymorphism with compilation-time checking of completeness!