RE: [sv-ec] class with an enum

From: Rich, Dave <Dave_Rich_at_.....>
Date: Thu May 01 2008 - 14:45:50 PDT
I'm not sure what kind of special processing you are thinking of that
might be need "special" handling. You have declared an anonymous enum
type within the scope of a class.

Dave


> -----Original Message-----
> From: owner-sv-ec@server.eda.org [mailto:owner-sv-ec@server.eda.org]
On
> Behalf Of Don Mills
> Sent: Thursday, May 01, 2008 2:33 PM
> To: sv-ec@server.eda.org
> Subject: [sv-ec] class with an enum
> 
> Does a class which contains an enum declaration require any special
> processing at elaboration time or will the class be constructed like
> regular, nonparameterized classes with a call to the new function the
> that class?
> 
> class C;
>   enum {red, yellow, blue} colors;
> endclass // C
> 
> I assume that there is no special processing needed unlike a class
with
> parameters.
> 
> thanks
> dm
> 
> --
> ==========================================================
> Don Mills
> mills@lcdm-eng.com
> www.lcdm-eng.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 May 1 14:46:23 2008

This archive was generated by hypermail 2.1.8 : Thu May 01 2008 - 14:46:30 PDT