digitalmars.D.learn - Parameters template and ref types
- SrMordred (8/8) Sep 26 2017 When using Parameters!T there are no difference between ref int
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 2017