[Issue 4229] cast spec
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Nov 24 14:22:11 PST 2010
http://d.puremagic.com/issues/show_bug.cgi?id=4229
--- Comment #1 from Ellery Newcomer <ellery-newcomer at utulsa.edu> 2010-11-24 14:20:49 PST ---
surprised to find out that the last one actually does something:
const(uint) i;
const(uint[]) j;
assert(is(typeof( cast() i) == uint));
assert(is(typeof( cast() j) == const(uint)[]));
and here I was assuming it was a typo.
--
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