www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Parameters template and ref types

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)
Sep 26