> Why would operator overloading allocate memory?
What if I wanted to overload the + operator to concatenate strings?
What if I wanted to overload the + operator to concatenate strings?
There is definitely some merit in being puritanical about not having any allocations in operators.