nevre mind

BCS ao at pathlink.com
Thu May 8 15:18:48 PDT 2008


Reply to Benjamin,

> T[] RemoveAt(T)(ref T[] dat, int i)
> {
> dat = dat[0..i] ~ dat[i+1..$];
> }
> char[][] args
> 
> args.RemoveAt(0);
> 
> (D v1)
> 


T RemoveAt(T)(ref T dat, int i)
{
 return dat = dat[0..i] ~ dat[i+1..$];
}




More information about the Digitalmars-d-learn mailing list