lethal-guitar / VariantTalk

Example code and slides for my talk "std::variant and the Power of Pattern Matching"
MIT License
42 stars 9 forks source link

don't use extra optional<state> type, just return unchanged value or … #2

Closed fenbf closed 5 years ago

fenbf commented 5 years ago

…a different state and assign to mState

lethal-guitar commented 5 years ago

Thanks for the idea, and for the contribution! 👍