yo/coroutines/demo/fibocoro/fibo/state.2
raw| 1 | class State |
| 2 | { |
| 3 | size_t d_value; |
| 4 | |
| 5 | public: |
| 6 | Fibo get_return_object(); |
| 7 | |
| 8 | std::suspend_always yield_value(size_t value); |
| 9 | |
| 10 | static std::suspend_always initial_suspend(); |
| 11 | static std::suspend_always final_suspend() noexcept; |
| 12 | static void unhandled_exception(); |
| 13 | |
| 14 | static void return_void(); |
| 15 | |
| 16 | size_t value() const; |
| 17 | }; |