On 11/20/2012 03:41 PM, Greg London wrote:
Why would I need "const" when I pass by reference, but not need const when
I pass by value?

Because references are not pointers, and you cannot "re-seat" the reference.
  http://www.parashift.com/c++-faq/reseating-refs.html

If you want the nitty-gritty details on how references are implemented:
 http://www.parashift.com/c++-faq/overview-refs.html

Matt
_______________________________________________
Hardwarehacking mailing list
[email protected]
http://lists.blu.org/mailman/listinfo/hardwarehacking

Reply via email to