Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2006-02-24 19:53:50


Nico Galoppo <nico_at_[hidden]> writes:

> 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

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net