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



--- Comment #5 from bearophile_h...@eml.cc 2011-08-27 16:18:55 PDT ---
Please show one or more use case.

Do you want it to be like a reinterpret cast? Currently this works:

void main() {
    ushort[4] a = [1, 2, 3, 4];
    uint[2] b = cast(uint[2])a;
    assert(b == [131073, 262147]);
}

Mixing reinterpret cast with conversion casts is a bad design.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to