#include <iostream>
using namespace std;
class Foo
{
public:
template<typename T>
void action(T t);
};
template<typename T>
void Foo::action(T t)
{
std::cout << "normal" << std::endl;
}
template<>
void Foo::action<int>(int t)
{
std::cout << "int" << std::endl;
}
int main()
{
Foo foo;
foo.action(1.0);
foo.action(1);
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgoKdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmNsYXNzIEZvbwp7CnB1YmxpYzoKICAgIHRlbXBsYXRlPHR5cGVuYW1lIFQ+CiAgICB2b2lkIGFjdGlvbihUIHQpOwp9OwoKdGVtcGxhdGU8dHlwZW5hbWUgVD4Kdm9pZCBGb286OmFjdGlvbihUIHQpCnsKICAgIHN0ZDo6Y291dCA8PCAibm9ybWFsIiA8PCBzdGQ6OmVuZGw7Cn0KCnRlbXBsYXRlPD4Kdm9pZCBGb286OmFjdGlvbjxpbnQ+KGludCB0KQp7CiAgICBzdGQ6OmNvdXQgPDwgImludCIgPDwgc3RkOjplbmRsOwp9CgppbnQgbWFpbigpCnsKICAgIEZvbyBmb287CiAgICAKICAgIGZvby5hY3Rpb24oMS4wKTsKICAgIGZvby5hY3Rpb24oMSk7CiAgICByZXR1cm4gMDsKfQ==