|
![](/i/fill.gif) |
Nicolas Alvarez wrote:
> Undefined behavior.
> Undefined behavior.
Certainly. And that's my point. The C++ standard doesn't say "you can't get
to private members of a class." It says "We're not going to tell you a
reliable and portable way of doing so." That doesn't mean you can't access
private variables - otherwise, we wouldn't have buffer overflows clobbering
private variables in exploits, would we?
--
Darren New, San Diego CA, USA (PST)
My fortune cookie said, "You will soon be
unable to read this, even at arm's length."
Post a reply to this message
|
![](/i/fill.gif) |