struct A {...};
myfunc(A *myA);
In C you can do this to get a lvalue:
myfunc(&(A){...});
In D this doesn't work and I get an "is not an lvalue and cannot be modified".
What's the correct D-ish way in such a case?
--
Robert M. Münch
http://www.saphirion.com
smarter | better | faster
