2 ms·
You are meant to use a library like cppcoro https://github.com/lewissbaker/cppcoro https://github.com/lewissbaker/cppcoro rather than building all this on your
by lenkite 6y ago
You are meant to use a library like cppcoro https://github.com/lewissbaker/cppcoro https://github.com/lewissbaker/cppcoro rather than building all this on your own.
But for folks working on gamedev libs, high-performance async, etc would probably prefer making their own task/promise-type for hand-crafted customization.