static switch

bearophile bearophileHUGS at lycos.com
Tue Jun 12 06:10:12 PDT 2012


cal:

> Does a switch statement acting on a template parameter act just 
> like a chain of  static if-else's? That is, does it just 
> generate the code for the matching case?

See:
http://d.puremagic.com/issues/show_bug.cgi?id=6921

Bye,
bearophile


More information about the Digitalmars-d-learn mailing list