[Issue 6442] Allow for passing values with the 'ref' keyword

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Aug 6 17:12:48 PDT 2011


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



--- Comment #10 from wfunction at hotmail.com 2011-08-06 17:12:44 PDT ---
>> - I don't see a value in "final switch". I don't care that it's there, either.

> If you switch on an emum, it gives you a nice error if later you add a new item
to the enum. Contrary to your proposal, this is a known source of bugs in C/C++
code.

OK, fine, you beat me 1 point out of 3.

How about 'with' and '!is null'? Are those also a source of bugs?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list