www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 8881] New: Add EnumBaseType template into traits

reply d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8881

           Summary: Add EnumBaseType template into traits
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Phobos
        AssignedTo: andrej.mitrovich gmail.com
        ReportedBy: andrej.mitrovich gmail.com


--- Comment #0 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2012-10-23
16:20:24 PDT ---
This will be useful to have for the upcoming fix to Issue 8143 (std.conv.toImpl
will need it). And it will be generally useful to have in the standard library.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 23 2012
next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8881


Jonathan M Davis <jmdavisProg gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisProg gmx.com


--- Comment #1 from Jonathan M Davis <jmdavisProg gmx.com> 2012-10-23 17:26:38
PDT ---
Doesn't std.traits.OriginalType already do this?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Oct 23 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8881



--- Comment #2 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2012-10-23
17:28:18 PDT ---
(In reply to comment #1)
 Doesn't std.traits.OriginalType already do this?
It appears it does. But it couldn't have a more un-original name. There's no way I would have found that.. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 23 2012
prev sibling next sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8881



--- Comment #3 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2012-10-23
17:36:34 PDT ---
(In reply to comment #2)
 (In reply to comment #1)
 Doesn't std.traits.OriginalType already do this?
It appears it does. But it couldn't have a more un-original name. There's no way I would have found that..
See my comment in Pull request. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Oct 23 2012
prev sibling parent d-bugmail puremagic.com writes:
http://d.puremagic.com/issues/show_bug.cgi?id=8881


Andrej Mitrovic <andrej.mitrovich gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX


--- Comment #4 from Andrej Mitrovic <andrej.mitrovich gmail.com> 2012-10-25
19:54:56 PDT ---
I needed OriginalType after all. Thx for the tip JMD.

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