switch case range inclusive or exclusive?

WebFreak001 d.forum at webfreak.org
Mon Apr 6 09:50:21 UTC 2020

In the D spec it says for CaseRangeStatement:

> A CaseRangeStatement is a shorthand for listing a series of 
> case statements from FirstExp to LastExp.

does this mean LastExp is inclusive or exclusive part of the 

I think the spec needs to be improved a little bit here for 

More information about the Digitalmars-d-learn mailing list