[sv-bc] Re: [sv-ec] Calling a virtual method whose body not defined.

From: Steven Sharp <sharp_at_.....>
Date: Thu Feb 07 2008 - 09:18:45 PST
As I understand it, there is no way to instantiate a virtual class, and
therefore no way to call the undefined virtual method.

In the case of your example, you would get an error from the null handle
c when trying to do the call.  There is no way to get c to be non-null
except by setting it to a non-virtual derived object, whose virtual
method will be defined.

Steven Sharp
sharp@cadence.com


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Feb 7 13:46:23 2008

This archive was generated by hypermail 2.1.8 : Thu Feb 07 2008 - 13:46:58 PST