[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: false asumption or security flaw?



On 24 Aug 2000, Yoann Vandoorselaere wrote:

> Ok, I don't know for reference,
> but I assume that is the same logic as pointer one.

I just did a quick google search, found
http://cplus.about.com/compute/cplus/library/weekly/aa062500a.htm. It
nicely explains the differences between references and pointers.

"What is the difference between a pointer and  a reference ?

Even though both pointers and references look similar (as they both hold
the address of an object), they are intrinsically different. Creating a
pointer to an object creates a new object whereas creating a reference
simply creates an alternative name for an existing object."

Hope this helps,

Tim

--
Tim Robbins
fyre@box3n.gumbynet.org

..  Now KEN and BARBIE are PERMANENTLY ADDICTED to MIND-ALTERING DRUGS..
                            - Zippy the pinhead

Tim


Kernel-audit:  discussion list for security and the linux kernel
Archive:       http://mail.nl.linux.org/kernel-audit/