is expression

Ellery Newcomer ellery-newcomer at utulsa.edu
Thu Jun 24 08:01:11 PDT 2010


Hey,

in std.container, line 2623, I'm seeing

static if (is(_store.insertBack(value)))

The spec doesn't mention allowing expressions as far as I can remember, 
so what's the deal? Yes, the argument is ambiguous with type at parse 
time, but it has to get converted to an expression at some point. Is 
allowing expressions in is expression a definite keeper?


More information about the Digitalmars-d mailing list