Parameters template and ref types
SrMordred
patric.dexheimer at gmail.com
Tue Sep 26 22:06:42 UTC 2017
When using Parameters!T there are no difference between ref int
and int for eg.
I know there is ParameterStorageClassTuple!T but it didt solve my
problem:
I want to transform any ref Type parameters in Type* like:
staticMap!( ref2ptr, Parameters!MyFunc ); //(ref int, int)
But then again ref2ptr are called only once for int (for
staticMap ref int and int are the same)
More information about the Digitalmars-d-learn
mailing list