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



--- Comment #2 from bearophile_h...@eml.cc 2010-10-19 09:41:54 PDT ---
(In reply to comment #1)
> to!(int[])(a) should take care of that.

There are also const casts:

array(cast(int[])a1)

But the design point of array() is to digest anything you may iterate, and
produce a dynamic array. So I think array(immutable(int)[]) should not require
casts or to!().

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

Reply via email to