[Issue 12020] Instantiating a template struct with equivalent const and enum arguments creates two types.

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 28 15:26:14 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=12020


Stanislav Blinov <stanislav.blinov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stanislav.blinov at gmail.com


--- Comment #1 from Stanislav Blinov <stanislav.blinov at gmail.com> 2014-01-28 15:26:11 PST ---
typeof(e) == int - an underlying type of an enum.
typeof(c) == const(int).

Hence two distinct types.

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


More information about the Digitalmars-d-bugs mailing list