Hi there (2) !
In my project, I've seen people preferring macros to template functions for performance enhancement (e.g., min/max functions).
Is this true? I know that copy-constructor elision already fairly optimises these simple function calls.
Further, can the said-to-be lack of performance be enhanced by the rvalue-reference in the new standard? This will further reduce the copy-constructor call when using the temporary return value as argument in another function.
Thanks a lot in advance!
Mark