how to get a (ref) tuple from a static array ?
Timothee Cour
thelastmammoth at gmail.com
Tue Oct 15 19:19:51 PDT 2013
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);
}
----
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20131015/150f4cf7/attachment.html>
More information about the Digitalmars-d-learn
mailing list