digitalmars.D.learn - how to get a (ref) tuple from a static array ?
- Timothee Cour (11/11) Oct 15 2013 how to write a expand function that satisfies the following?
how to write a expand function that satisfies the following? ---- void fun(ref int a,ref int b){ a=1; } void main(){ int[2]c; fun(c.expand); assert(c[0]==1); } ----
Oct 15 2013