
17 Oct
2012
17 Oct
'12
10:57 a.m.
This issue is AFAIK resolved with C++11 but some of us still need to support C++03 - and I am really annoyed by this problem.
Hmmm...how is this resolved in C++11? AFAIK, C++11 still uses the old archaic iterator categories and requires a real C++ reference as the reference type of forward iterators.
C++ requires it to be `iterator_traits<Iterator>::reference`, I thought, or does it require it to be real reference like `iterator_traits<Iterator>::value_type&`?