C++ pass by value / reference

Associate
Joined
25 Jul 2003
Posts
1,980
If I want to pass some primitive value (integer, double etc) to a function which will use the value (but not modify it), what is the most efficient method to pass it?
 
Back
Top Bottom