------- Comment #2 from Dallas at ekkySoftware dot com 2007-08-01 00:14 ------- The reason I was passing the reference and not the value is because is some circumstances I can change the value of the parameter. Using the const keyword prevents me from calling methods that can change the value even if in this example they do not.
Thanks, Dallas Clarke BSc (CS) LLB UNSW Architect / Lead Developer Ekky Software Website: http://www.ekkySoftware.com -- Dallas at ekkySoftware dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32944