[sv-ec] class extending from fwd typedef?

From: Francoise Martinolle <fm_at_.....>
Date: Wed Nov 26 2008 - 11:57:26 PST
I was reading mantis item 1500. It seems that it originally was intended
to limit where you could
used a datatype which was declared as a forward typedef.
My reading of the resolution is that it i snow legal to use the type
name of a fwd typdef as the base type of a
derived class.
 
I mean that the following is legal.
 
program top_level;
 
typedef class cds_madeup;
 
class cds_callback extends cds_madeup; // legal
 
endclass : cds_callback
 
  class cds_madeup;
  endclass
endprogram

 
Can someone confirm my understanding?
 
 
 
Francoise
       '

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Wed Nov 26 11:59:01 2008

This archive was generated by hypermail 2.1.8 : Wed Nov 26 2008 - 11:59:48 PST