samedi 20 décembre 2014

Template function which accepts a template class

I want to write a template function which accepts template class as a input parameter.



template<class T>
void Function(T Input)
{

}


Something like above. can the class be Template class?? if yes, how do i write it? i got an error trying to do this. please help me on this. Thanks in advance


Aucun commentaire:

Enregistrer un commentaire