September 26, 2017 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) |
Copyright © 1999-2021 by the D Language Foundation