|
Boost : |
From: Aleksey Gurtovoy (alexy_at_[hidden])
Date: 2001-08-03 10:46:50
William Kempf wrote:
> > P.S.-- I also spotted an apparent infinite loop in the code:
> >
> > bool thread::operator!=(const thread& other) const
> > {
> > return operator!=(other);
> > }
> >
> > That should be !operator==(other), no?
>
> Oops. Yep. Nasty typo on my part. Thanks for catching that.
I don't know the full context, but in general this is exactly kind of error
that 'operators' library helps to avoid.
Aleksey
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk