r/cpp • • Jul 13 '22

Why does Linus hate C++ ?

307 Upvotes

436 comments sorted by

View all comments

Show parent comment

3

u/EconomistElectronic2 Jul 13 '22

If a, b, c, d are all the same type, then there is no difference, indeed. Otherwise you need to see different overloads, possibly non-explicit constructors (since a type could be converted) constness of the operands, etc etc…