Thanks for your answers, I ended up doing what both of you suggested. I was hoping to find a way to not use raw pointers explicitly but I guess it makes no difference in the end.
- Capture atomics in closure bobbersen
- Capture atomics in closure ElegantBeef
- Capture atomics in closure mratsim
- Capture atomics in closure bobbersen
- Capture atomics in closure mratsim
- Capture atomics in closure JiyaHana
- Capture atomics in closure bobbersen
- Capture atomics in closure bobbersen
- Capture atomics in closure bobbersen