RE: [sv-ec] virtual methods

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Wed Dec 31 2008 - 08:41:12 PST
Hi,

> d->foo(); // ditto. Here we must look up to pick up the
> definition in Base.
> l->foo(); // ditto.

Since the reference types are Derived and Leaf, respectively, why don't we get Derived::foo() ?

Thanks,
Shalom
---------------------------------------------------------------------
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Dec 31 08:42:35 2008

This archive was generated by hypermail 2.1.8 : Wed Dec 31 2008 - 08:43:14 PST