Afficher un message
Vieux 06/06/2008, 22h21   #5
Matt
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: why arguments are not incompatible

> Using const with a pass by copy argument is useless.

Why is it useless?
It seems like there are lots of cases where you may have a variable passed
into a function where the function does not need to change it that a const
value may make the code more readable and less error prone in matainence.


  Réponse avec citation
 
Page generated in 0,04845 seconds with 9 queries