Boost logo

Boost :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-04-27 01:05:40

David Abrahams wrote:

>> Ok, let me try again:
>> ifšiteratoršisšalsošašmodelšofšthešreadablešiteratoršconcept,šthen
>> expressionš*rv should be equal to *v, where v is the value of iterator
>> before call to operator++(int) and rv is the value returned from the
>> call.
> We don't need new language to express what should be said here; we
> can just take it from the C++98 input iterator requirements.

Except that requirements on "*r" return return say: "Convertible to T" and
std::input_iterator requirements on "*r++" say the return type should be
"T", exactly. I'm not sure what problems this entail, just pointing out the

- Volodya

Boost list run by bdawes at, gregod at, cpdaniel at, john at