[Issue 6617] Two problems using enum lenghs

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Dec 2 10:52:49 PST 2012


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



--- Comment #5 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-12-02 10:52:48 PST ---
(In reply to comment #3)
> Enums already have some built-in attributes, that cause some troubles. In 
> Issue 4997 I have suggested a namespace named "meta", so you write
> "MyEnum.meta.length".

This is also implementable via a template that exposes some fields that you
need. There's no need to hack around the compiler for this.

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