///*
///else ... Note: it is NOT nessesory!
///if you do not implement the other's type class ,the effect see below button's event
template<typename Type>
class TTestClass
{
public:
typedef Type traits_type ;
void ShowTestMessage(const traits_type& t){ ShowMessage("All Other Types here!"); };
};
//*/
void __fastcall TForm1::Button1Click(TObject *Sender)
{
TTestClass<int> intone;
TTestClass<double> doubleone;
TTestClass<char> charone; //if no implement , compiler will finf an error, stop here...:)