4 ms·It's clearly a contrived example to show how std::variant can be used for a state machine.by mike_hock 10y agoIt's clearly a contrived example to show how std::variant can be used for a state machine.