how to find the type of a supplied variable

Jesse Phillips Jesse.K.Phillips+D at gmail.com
Fri Dec 6 15:14:12 PST 2013


On Friday, 6 December 2013 at 20:58:15 UTC, seany wrote:
> why do i need the static? (is that not supposed to prevent 
> insertations of new scopes inside the braces? is it really 
> needed?)

'static if' means check this at compile time, which happens to 
not introduce a new scope, because otherwise it wouldn't be very 
useful.


More information about the Digitalmars-d-learn mailing list