to!(T[]) is awesome.

I've ported this little C thingy:
sscanf(oneline, "%f %f %f %f %f", &x, &y, &z, &u, &v);

to this:
to!(float[])(line.split);

Can't get easier than that!

Reply via email to