class a {} a1; template class b { public: b() { static_cast (p); }; }; int main() { b b1; };