digitalmars.D.learn - Whats the difference between a final and non-final switch statement?
- Gary Willoughby (3/3) Jul 30 2013 Whats the difference between a final and non-final switch
- Namespace (2/6) Jul 30 2013 http://dlang.org/statement.html#FinalSwitchStatement
- Gary Willoughby (2/8) Jul 30 2013 That's great thanks.
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.
Jul 30 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
Jul 30 2013
On Tuesday, 30 July 2013 at 10:29:45 UTC, Namespace wrote:On Tuesday, 30 July 2013 at 10:14:50 UTC, Gary Willoughby wrote:That's great thanks.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
Jul 30 2013