Did you think to use it like that?
Space Game: A std::variant-Based State Machine by Example
by Nikolai Wuttke
From the article:
One of a powerful uses of std::variant is to implement State Machines. Some time ago I showed a simple example, but today we have something bigger. In today’s article by Nikolai Wuttke you’ll see how to leverage std::variant and build a space game!
Add a Comment
Comments are closed.