OT: static foreach
Max Samuha
maxter at i.com.ua
Wed Nov 15 05:46:31 PST 2006
On Wed, 15 Nov 2006 11:05:02 +0100, "John S. Skogtvedt"
<jss2k2 at chello.no> wrote:
Why 'foreach' and not 'static foreach' is used for compile time
iteration unlike 'static if' for compile time condition evaluation? Or
is 'static' necessary in 'static if' at all? Can't the compiler
determine whether 'if' is static based on the compile time
evaluability of the expression?
More information about the Digitalmars-d
mailing list