I was just curiuos. I'm making an implementation of a heap and I am considering using vectors. But I need to use templates as well. I don't know why it wouldn't work, but can I use templates in vectors?
example:

template<class T>
vector<T> myvector;

would that work?

thanks.