Facing problems with Class Properties

Steven Schveighoffer schveiguy at yahoo.com
Fri Dec 10 12:16:37 PST 2010


On Fri, 10 Dec 2010 15:08:34 -0500, Jesse Phillips  
<jessekphillips+D at gmail.com> wrote:

> Jesse Phillips Wrote:
>
>> typeof() and is() are compile time constructs. Change your if  
>> statements to
>> static if.
>
> Just realized what the issue is. You are creating code as foreach  
> becomes a static foreach when iterating a tupleof. (Yes steven it does  
> work)

Ah, good to know :)

-Steve


More information about the Digitalmars-d-learn mailing list