template <typename T>
void func(T& t)
{
//...
}

void func(wchar_t* pt)
{
//...
}