std::variant instead of pointers
I hate pointers Not really, but they’re more annoying to use and easier to forget to cleanup than plain objects. Even smart pointers are annoying because they’ve got overhead. Not much, but it’s there.
This is only half joking Almost joking.