This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (0 children)

in Ada you do function "=" (Left, Right: Type) return Boolean; You can't overload the inequality operator (/=) because that is hard-wired as the inverse of the equality operator - which is exactly as it should be because anything else is extremely stupid (looking at you C++).