fix Issue 13374 - Wrong template overload resolution when passing function to alias/string parameter
Merge pull request #3897 from 9rnsr/fix13374

[REG2.061] Issue 13374 - Wrong template overload resolution when passing function to alias/string parameter