I currently have a function:
template<typename T>
bool func(T &t, int x)
{
// do stuff...
}
However I would like to have three different function bodies:
Tbeing anenumTbeingunsigned char- Everything else
I have tried this already but didn't get far.
What are the correct function declarations for these three cases to work?
Aucun commentaire:
Enregistrer un commentaire