static if else behavior and is type comparison

Andrea Fontana via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Mar 11 00:22:06 PST 2016


On Friday, 11 March 2016 at 08:02:41 UTC, Fynn Schröder wrote:
> Am I doing anything wrong here or is this a bug?

You should write:

static if { ... }
else static if { ... }
else static if { ... }


More information about the Digitalmars-d-learn mailing list