On Fri, May 1, 2009 at 11:34 AM, MLT <[email protected]> wrote:

>
> Is there an easy way to convert arrays from one type to another?
> int[] a=[1,2,3,4] ;
> long[] b ;

Not really.  The best you can do is:

b.length = a.length;
foreach(i, ref v; b) v = a[i];

Reply via email to