Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
[email protected] webmail now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!

Paste

Pasted as C++ by bunkar ( 14 years ago )
template<typename T> class TypeCheck;
template<> class TypeCheck<int> {};

template<typename T>
struct A: public TypeCheck<T> {};

int main()
{
  A<int> ai;
  A<double> ad;
}

 

Revise this Paste

Your Name: Code Language: