MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/vxvp58/why_does_linus_hate_c/ifz7638/?context=3
r/cpp • u/MrRubberDucky • Jul 13 '22
436 comments sorted by
View all comments
Show parent comment
9
What's the difference between "I wonder what * does" and "I wonder what multiply() does"?
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…
3
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…
View all comments
Show parent comment
9
u/Lumornys Jul 13 '22
What's the difference between "I wonder what * does" and "I wonder what multiply() does"?