missing operator !=
Nathan Myers
ncm@nospam.cantrip.org
Tue Mar 20 00:10:00 GMT 2001
On Tue, Mar 20, 2001 at 08:31:44AM +0100, Gabriel Dos Reis wrote:
> Stefan Seefeld <seefeld@sympatico.ca> writes:
>
> [...]
>
> | The compiler complains about an undefined operator != for the iterators.
> | Shouldn't this operator be generated from the existing operator == ?
>
> No.
By which Gaby means: no, you have to supply your own definition of op!=.
If anybody mentions rel_ops, laugh in his face and point to the FAQ.
Nathan Myers
ncm at cantrip dot org
More information about the Libstdc++
mailing list