From: Patrick M. <bo...@in...> - 2002-08-25 05:28:59
|
On Sun, Aug 25, 2002 at 01:25:33AM +0100, Tim Robinson wrote: > BTW, forgot to ask: what is this practice of passing "const int&" as > parameters to functions instead of "int"? > It avoids making a copy of the parameter (&) while still making sure that the original data will not be modified (const). PM, 22 |