It compiles with a Borland compilera without error but always evaluates to ifFalse. It looks like my 'condition' parameter is not being passed in C++ as it is in MQL.
An example of how I would use it is...
Print( iifBool(a>=b, True, False) );
Any idea how I pass the expression "a>=b" to the function in C++ as I did in MQL?
I'm not sure your code is doing what you think...
You cannot defer evaluation of an expression in C++ outside of the language defined flow control constructs.