[Issue 9563] (2.062) typeof(T[0]) no longer works with array T's

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 21 21:03:12 PST 2013


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


Marco Leise <Marco.Leise at gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Marco.Leise at gmx.de


--- Comment #1 from Marco Leise <Marco.Leise at gmx.de> 2013-02-21 21:03:11 PST ---
You made me smile. I recently needed ElementType! in my code for arrays. I had
almost written a simple template, but remembered that Phobos had it already.
And I thought "I better use the Phobos one, that's sure to still work in the
future. Not that it's likely that typeof(T[0]) breaks anytime soon... but
still." Sometimes you have these gut feelings you can't even explain to
co-workers.

Sorry for the noise.

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