On Wed, Mar 14, 2012 at 06:08:24PM +0100, Adam D. Ruppe wrote: > if(is(T : S)) > > http://dlang.org/expression.html#IsExpression > > this is form #2.
Ahh, thanks. I keep forgetting what the various forms of is() do... sigh. Another question: is wstring assignable to dstring, or string to wstring or dstring? I'm finding that is(wstring:dstring) returns false. T -- There are four kinds of lies: lies, damn lies, and statistics.