How about adding a new coroutine type co_resource<T>? vector<bool>'s blog post [co_resource<T>: An RAII coroutine](https://vector-of-bool.github.io/2021/12/30/co_resource.html) Implementation of co_resource<T> in [neo_fun](https://github.com/vector-of-bool/neo-fun/blob/develop/src/neo/co_resource.hpp)