re PR c++/47999 ([C++0x] auto type deduction works incorrectly in a function template)