
said suggestions, but I trust Oliver can pick through the discussion as well as I can :/
no problem - Hartmut got such a list already
A quick google search of "c++ coroutine" found 3 libraries that ostensibly implement coroutines or an approximation thereof [2-4]. I haven't gone through these quite yet, but I'd like to see why one should use the proposed Coroutine library over these alternatives (even a 1-line justification
I would not add such a 'justification' to the documentation.
uses ucontext on POSIX which is deprecated and ucontext more than 10x slower (see rational section in boost.context)
uses setjmp/longjmp - preserving stack frames is not guaranteed (see rational section in boost.context)
Provides stack-less coroutine - using switch-preprocessor trick - can't be used from sub-routines of call stack <snip> I'll provide 2 or 3 version of boost.coroutine addressing the suggestion of the review soon regards, Oliver