|
-
February 23rd, 2003, 05:06 PM
#1
Templates and Vectors
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|