On Thu, Jul 19, 2001 at 12:57:18PM -0300, Leandro Fanzone wrote: > > bool > operator==(const StructTest::SomeStruct &Left, const StructTest::SomeStruct > &Right) > { > return Left.l == Right.l; > } That might work on gcc 2.95.x but gcc 3.x (and the new standard) require that operator== be declared in the same scope as the type it compares, so the StructTest:: should be unnecessary.