Choosing arity of a template function

Era Scarecrow via Digitalmars-d digitalmars-d at puremagic.com
Fri Feb 26 15:18:30 PST 2016


On Friday, 26 February 2016 at 23:11:32 UTC, Andrei Alexandrescu 
wrote:
> Urgh, forgot the "static" in front of the second "if". It does 
> work now.

  Perhaps that should be an error instead; Going from a static if 
to an else if... seems easy enough to spot and insist a fix (much 
like assignment inside an if statement is illegal).


More information about the Digitalmars-d mailing list