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

From: Rich, Dave <Dave_Rich_at_.....>
Date: Thu Feb 07 2008 - 14:58:04 PST
Actually, the error you should get before the simulation could start is
that no out-of-class-body method definition has been provided within the
scope in which the class was defined.

> -----Original Message-----
> From: owner-sv-ec@server.eda.org [mailto:owner-sv-ec@server.eda.org]
On
> Behalf Of Steven Sharp
> Sent: Thursday, February 07, 2008 9:19 AM
> To: sv-ec@server.eda.org; sv-bc@server.eda.org;
> spsaha@cal.interrasystems.com
> Subject: Re: [sv-ec] Calling a virtual method whose body not defined.
> 
> 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.


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

This archive was generated by hypermail 2.1.8 : Thu Feb 07 2008 - 15:30:34 PST