Absolutely not. Never overload operators to do things that arent super-obvious. If you overload an operator only make it do exactly what the operator usually does (for example changing << and >> for cout and cin is generally considered a bad move, and I agree)Originally posted by: oniorochi
If it really was OOP then he would have just made and operator overload and then used 'assertionfailure++'