www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Re: T.init for static arrays?

Steven Schveighoffer:
 Is that going to allocate heap data as the current array literal does?  If  
 so, it's a step backwards.  It needs to be ROM data.

I think my two posts solve your problems and doubts: http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=107605 http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=107607 Bye, bearophile
Mar 15 2010