isRef, isLazy, isOut

Chris Nicholson-Sauls ibisbasenji at gmail.com
Sun Dec 20 01:41:04 PST 2009


Walter Bright wrote:
> Andrei Alexandrescu wrote:
>> I asked in vain for is(var == ref), is(var == out) etc.
> 
> That's because 'is' works with types, not symbols. It didn't fit.

is(typeof(var) == ref) ?

-- Chris Nicholson-Sauls



More information about the Digitalmars-d mailing list