[Issue 9112] Uniform construction for built-in types
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Mar 7 06:03:56 PST 2014
https://d.puremagic.com/issues/show_bug.cgi?id=9112
--- Comment #27 from Kenji Hara <k.hara.pg at gmail.com> 2014-03-07 06:03:52 PST ---
(In reply to comment #26)
> Is this difference expected?
>
[snip]
Yes. The new syntax T(arg) is valid only when the 'arg' is implicitly
convertible to T (== different from the cast). And, in your example, int is not
implicitly convertible to creal.
--
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