On Monday, 25 August 2014 at 15:52:20 UTC, bearophile wrote:
Jeremy DeHaan:

It compiles if I remove the 'if(typeof(T) is dchar)' section. Any thoughts?

Try:

if (is(T == dchar))

Bye,
bearophile

That one compiles, and I'm assuming it works. I didn't know you could use is this way. I've only seen it as an 'obj1 is obj2' sort of way. Thanks much!

Reply via email to