Just to understand: overloaded function resolution happens at compile time, and the sample code is 'deterministic' with respect to EMA(). Why would it then be 'undefined' behavior?
Btw: if the 2nd parameter is an int, rather than a var, all works fine...
Last edited by Zheka; 05/02/2213:12.
Re: How to declare/initialize an array of function pointers
[Re: Zheka]
#485883 05/02/2213:0905/02/2213:09