[Issue 9924] Handy enum accessors

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 11 18:04:43 PDT 2013


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


Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com


--- Comment #1 from Walter Bright <bugzilla at digitalmars.com> 2013-04-11 18:04:42 PDT ---
I don't see much need for FirstMember and LastMember, just as I don't see a
need for:

E FirstElement(E)(E[] a) { return a[0]; }

I believe such functions are trivia.

-- 
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