T[new] misgivings

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Fri Oct 16 07:25:49 PDT 2009


Don wrote:
> In case this isn't clear:
> 
> real [] sinsTable = [ sin(1.0), sin(2.0), sin(3.0), sin(4.0) ];
> 
> How do you do this so that the entries in the table are calculated at 
> compile time?

static?

Andrei



More information about the Digitalmars-d mailing list