Version statement

Simen kjaeraas simen.kjaras at gmail.com
Tue Dec 14 11:23:46 PST 2010


Walter Bright <newshound2 at digitalmars.com> wrote:


>> 2) I would really like the idea to be able to get a compiletime string  
>> of version identifiers in some kind of way. Perhaps even an array of  
>> version-strings.
>
> I don't know what that means.

Likely something like __traits( versions ), that returns ["DigitalMars",
"Windows", "X86", "LittleEndian", "D_InlineAsm_X86", "D_Version2", "all"].

-- 
Simen


More information about the Digitalmars-d mailing list