Boost logo

Boost Users :

Subject: Re: [Boost-users] [context] boost::coroutines::asymmetric_coroutine<T>::pull_type iterator does not properly model InputIterator
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2015-02-16 08:19:51


2015-02-16 13:46 GMT+01:00 Mueller-Roemer, Johannes Sebastian <
Johannes.Sebastian.Mueller-Roemer_at_[hidden]>:

> 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



Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net