[Issue 7348] to!string(null) matches more than one template declaration

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jan 23 13:49:22 PST 2012


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



--- Comment #3 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-01-23 13:49:20 PST ---
Yeah. That doesn't really make sense. null could be anything that's null. And
what type that is completely changes how text is instantiated. If you cast null
to the type that you want, then it'll work. But null is its own type. You can't
really do anything with null on its own like that. It needs be a null
_something_, not just null.

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