[REG2.064a] Issue 10592 - Regression of overloaded template function

http://d.puremagic.com/issues/show_bug.cgi?id=10592