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





------- Comment #2 from kamm-removet...@incasoftware.de  2008-12-27 06:11 
-------
While you're at it, could you also document these casts for string literals?

short[] ct1 = cast(short[]) "\x01\x01"; // [ 257 ]
short[] ct2 = cast(short[]) [cast(char)1, 1]; // [1, 1]

even though both literals represent the same char[2] value.


-- 

Reply via email to