7 May
2013
7 May
'13
3:16 p.m.
On Tue, May 7, 2013 at 7:58 AM, Gabriel Redner
Hi folks,
Stephan T. Lavavej:
if X is a mutable iterator, reference is a reference to T; if X is a const iterator, reference is a reference to const T,
If I'm reading this right, then an iterator whose 'reference' is not a reference is not an std iterator at all.
If so, then my question (not necessarily to you, but to everyone) becomes: why does the Iterator library tag such an iterator with std::input_iterator_tag? Isn't this strictly wrong?
You snipped the relevant context: The above applies to ForwardIterators, not to InputIterators or OutputIterators. [...] - Jeff