Version statement

Extrawurst spam at extrawurst.org
Tue Dec 14 16:22:03 PST 2010


On 14.12.2010 20:23, Simen kjaeraas wrote:
> 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"].
>

Yes, exactly that.


More information about the Digitalmars-d mailing list