
25 Feb
2006
25 Feb
'06
12:53 a.m.
Nico Galoppo
David Abrahams wrote:
You shouldn't need the != and == overloads at all since you have an implicit converting constructor.
That was wrong; I forgot that the operators== and != for iterator_facade are templated, so no user-defined conversions will be considered. You need to implement your own overloads, preferably as free functions. -- Dave Abrahams Boost Consulting www.boost-consulting.com