2015-02-16 13:46 GMT+01:00 Mueller-Roemer, Johannes Sebastian <Johannes.Sebastian.Mueller-Roemer@igd.fraunhofer.de>:

Compiling is not the issue.


it works as expected
 

Furthermore your example does not test the issue I mentioned, as it does not use *it++;


operator++ has higher precedence than operator* -> each increment triggers an jump/switch operation -> last increment invalidates coroutine