mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-17 05:44:08 -07:00
Some tasks are invoked multiple times. Normally those tasks are broken up inside a loop and had to be continued there. With coroutines that is easier as it's possible to suspend inside a loop. Coroutines which are lambdas should not capture anythig as the lifetime of the captured values might end before the coroutine completes. For that purpose `std::bind_front` is used. |
||
|---|---|---|
| .. | ||
| components | ||
| docs | ||
| helpers | ||
| scripting | ||
| serialization | ||
| system | ||
| tests | ||
| MessageTypes.h | ||
| Simulation2.cpp | ||
| Simulation2.h | ||
| TypeList.h | ||