Re: [sv-bc] parameterized structures

From: Kevin Cameron <dkc_at_.....>
Date: Fri Jun 16 2006 - 00:40:20 PDT
Brad Pierce wrote:

> Are struct types really just syntactic sugar for a simple kind of class?
>
For C++ I think it's the other way round since class inheritance is just a
formal way to say one struct can overlay another. I hesitate to
comment on the relationship between structs and classes in SV.

>  
>
> If so, could we explicitly define structs in terms of classes and get 
> the proposed parameterized struct types for free from the existing 
> definition of parameterized classes?
>
What's the difference between this "parameterized" stuff and class 
templates?

Kev.

>  
>
> -- Brad
>
Received on Fri Jun 16 01:10:28 2006

This archive was generated by hypermail 2.1.8 : Fri Jun 16 2006 - 01:11:44 PDT