Re: [sv-bc] Forward typedef of parameterized class

From: <shweta_at_.....>
Date: Thu Jan 31 2008 - 02:52:26 PST
Hi Surya,

My question is specific about forward typedef of parameterized class.
The LRM says nothing about it.

Regards,
Shweta.

> Hi Shweta,
> I already asked it (the mail is attached). But I did not get any reply
> on that.
>
> Regards
> Surya
>
>
>
> -------- Original Message  --------
> Subject: [sv-bc] Forward typedef of parameterized class
> From: shweta@mirafra.com
> To: sv-bc@eda.org
> Date: Thursday, January 31, 2008 3:39:25 PM
>> Hi All,
>>
>> Is foward typedef of parameterized class allowed?
>>
>> For the following testcase :
>>
>> package pkg;
>>     typedef B;
>>     class A #(parameter int p1 = 1);
>>         B b1;
>>     endclass
>>     class B #(parameter int p1 = 1);
>>             A #(p1) a1;
>>     endclass
>> endpackage
>>
>> MTI gives following error :
>> ** Error: test1.sv(2): Forward typedef for parameterized class 'B' not
>> allowed
>>
>> Regards,
>> Shweta.
>>
>>
>
>
>
>


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Thu Jan 31 03:07:47 2008

This archive was generated by hypermail 2.1.8 : Thu Jan 31 2008 - 03:08:12 PST