#include <iostream>
#include <string.h>
#include <cstring>
using namespace std;
template<class T>
bool IsEqual(T t1, T t2)
{
return t1==t2;
}
template<> bool IsEqual(char *str1, char *str2)
{
cout<<"\n-----specialized-----"<<endl;
return strcmp( str1, str2 )==0;
}
int main()
{
char *str1 = "hello world";
char *str2 = "hello world";
cout << strcmp( str1, str2 ) << endl;
cout << IsEqual( str1, str1 )<< endl;
return 0;
}