
20 Jul
2004
20 Jul
'04
12:37 a.m.
Stefan Slapeta <stefan_nospam_@slapeta.com> writes:
<<
What you wanted to know is: the original code was comparing the content of the iterators _before_ comparing the eof states, which is not correct (see below). That said [ ... :) ]
This appears to be a complicated way to write: return eof() && Other.eof() || m_Match==Other.m_Match && m_End==Other.m_End;
No. Just interpret boolean expressions the way they want to talk to you :)
Lyrical, but I have no clue what it means. Whoops, OK, my boolean inferometer was on the fritz. Your logic looks OK to me. -- Dave Abrahams Boost Consulting http://www.boost-consulting.com