Andre Poenitz <[EMAIL PROTECTED]> writes: | On Tue, May 27, 2003 at 11:27:55PM +0200, Lars Gullik Bjønnes wrote: | +bool operator==(Paragraph const & lhs, Paragraph const & rhs) | +{ | +#warning FIXME this implementatoin must be completely wrong... | + return &lhs == &rhs; | +} | | As the warning says. | | Wouldn't it be more prudent to use a special-purpose comparator when | needed instead of giving the 'standard' operator==() wrong semantics?
Possibly. -- Lgb