[sv-ec] is new a constant expression

From: Daniel Mlynek <daniel.mlynek@aldec.com.pl>
Date: Mon Jun 14 2010 - 00:26:17 PDT

Lets consider below sample. Sturct fields can be initialized only with
constant functions - my question is can they be initialized with new?
 
module top;
        class C;
                int c;
        endclass
        typedef struct {
                C hnd=new;
        } T;
endmodule

 
DANiel

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Received on Mon Jun 14 00:26:28 2010

This archive was generated by hypermail 2.1.8 : Mon Jun 14 2010 - 00:26:43 PDT