So i have a templated function:
template<typename T>
int func(const T& input){
//do stuff
}
And I'd like to specialise it with a templated class(like std::vector) So like this:
template<typename T>
int func(const std::vector<T>& input){
//do specialised stuff
}
But I don't know how exactly you do it. Thanks!
Aucun commentaire:
Enregistrer un commentaire