Why version() ?
Brian
digitalmars at brianguertin.com
Wed Feb 11 00:56:48 PST 2009
On Wed, 11 Feb 2009 08:51:10 +0000, Brian wrote:
> On Wed, 11 Feb 2009 14:07:29 +1100, Daniel Keep wrote:
>> What about this?
>>
>> /+{{VersionIdentifier}} ... +/
>
>
> is that just a neater way to do this? version(Identifier) { mixin(`
> //code!
> `)}
after writing that i realized the mixin is probably evaluated even if the
version is false, that kind of destroys that idea.
More information about the Digitalmars-d
mailing list