Okay, my questions are based on these threads:
Array or Vector as augment
simple question im not sure about
I was wondering, is it better to pass parameters by reference (and const reference if we don't want to change the parameter) in all functions? I think it is better than copying the parameter to stack.
If it isn't, why? What would the proper situation to pass parameters by reference (beside to have the ability to change the said parameters)?
Thanks in advance.



LinkBack URL
About LinkBacks


