You've been bitten by a common usability issue. :) On 03/11/2016 12:02 AM, Fynn Schröder wrote: > static if (is(U == ubyte)) { > pragma(msg, "is ubyte"); > return fnUbyte(); > } else if (is(U == ushort)) {
You mean 'else static if'. (Not your fault: I (and others) wish the compiler warned about this problem.)
Ali