3 ms·
Is there a better approach available in C++? In other languages you'd use monads or other special compiler forms that can rewrite sequential looking code into t
by MichaelGG 14y ago
Is there a better approach available in C++? In other languages you'd use monads or other special compiler forms that can rewrite sequential looking code into the horrible multi-nested callback/error handling code it needs to be.
- ajasmin 14y agoBoost Coroutines perhaps? http://www.boost.org/doc/libs/1_53_0/libs/coroutine/doc/html/index.html http://www.boost.org/doc/libs/1_53_0/libs/coroutine/doc/html...