Boost logo

Boost :

From: Darin Adler (darin_at_[hidden])
Date: 1999-11-11 01:55:41

Reasons to have operator == be a member:

    - prevents people from specializing
    - allows inheritance of operator != instead of requiring a second

Reasons to have operator == as a non-member:

    - type conversions can apply to the left hand side as well as the right

I still prefer the non-member.

    -- Darin

Boost list run by bdawes at, gregod at, cpdaniel at, john at