Pavel Novikov: "Coroutines + Type Erasure = State Machine"
Vložit
- čas přidán 23. 06. 2020
- C++ coroutines are de facto state machines. Add a bit of type erasure and metaprogramming magic, and you get a cute looking state machine.
---
This presentation was given at the June 2020 edition of C++ London: www.meetup.com/CppLondon/even... - Věda a technologie
Maybe change `shout("Come in, it's open!");` to `shout("Come in, it's unlocked.");`
Right now, it's confusing haha. The state is CLOSED, not open. The door isn't open. It's unlocked.