Can/should an overloaded operator have to be inlined to gain better efficiency (wrt time or whatever) if that operator will have to be used frequently?
I want to overload the ‘+’ operator to add big vectors very frequently in my code. Hence the question.
Ideally, you’d profile your code and then decide what to inline. There really isn’t much of a difference between when you decide to inline regular operators, over overloaded ones.