Hi,
I just discovered this today, I wonder if this is standard enough?
and later, you can do:Code:class Boohwa{
public:
void mooya(){
cout << "boohwa!" << endl;
}
};
class What{
public:
template<class M>
void mooya(){
M moo;
moo.mooya();
}
};
Would love to hear where I can read more about this stuff, I was just experimenting around. This is potentially SUPER useful.. I'd imagine?Code:What what;
what.mooya<Boohwa>();