[sv-bc] $typename

From: Bresticker, Shalom <shalom.bresticker_at_.....>
Date: Fri Jul 20 2007 - 00:22:47 PDT
In 19.6.1, there is an example for $typename:

enum {A,B,C=99} X; //"enum{A=32'd0,B=32'd1,C='32d99}A::e$1"

(It should be C=32'd99.)

Considering that the default type of enum is int, and int is signed,
should it be

enum {A,B,C=99} X; //"enum{A=32'sd0,B=32'sd1,C=32'sd99}A::e$1"

?

Thanks,
Shalom


Shalom Bresticker
Intel Jerusalem LAD DA
+972 2 589-6852
+972 54 721-1033


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Fri Jul 20 00:23:12 2007

This archive was generated by hypermail 2.1.8 : Fri Jul 20 2007 - 00:23:46 PDT