Whats the difference between a final and non-final switch statement?

Namespace rswhite4 at googlemail.com
Tue Jul 30 03:23:49 PDT 2013


On Tuesday, 30 July 2013 at 10:14:50 UTC, Gary Willoughby wrote:
> Whats the difference between a final and non-final switch 
> statement? I know the compiler complains when i don't use a 
> default case in a non-final switch statement but i've no idea 
> why.

http://dlang.org/statement.html#FinalSwitchStatement


More information about the Digitalmars-d-learn mailing list