[Issue 9112] Uniform construction for built-in types

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 7 10:59:38 PST 2012


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



--- Comment #15 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-12-07 10:59:34 PST ---
> AFAIK, it's not exactly the same thing, as int(10) would be only a
> constructor, so would not downcast.

I agree, but if you look at Kenji's proposal, he specifically says that there's
a cast involved (which I'd missed when I read it the first time). So, Andrej's
complaint is completely valid given Kenji's initial proposal. But if you fix it
so that no cast is involved, then I think that it's fine.

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