ref lost to opDispatch
Carl Sturtivant
sturtivant at gmail.com
Sat Jul 27 09:15:45 PDT 2013
> void opDispatch(string f, Args...)(auto ref Args args)
What exactly is the effect of this? Does it make all of args ref
parameters when instantiated?
In which case it doesn't solve my real problem where I have more
that 100 functions with all sorts of parameter lists being
dispatched and I only want ref where it's prescribed.
Is the behavior of the code I wrote a design feature or a bug?
More information about the Digitalmars-d-learn
mailing list