Vector of a Template Class?

Hello I am trying to create a vector of a class I made. This class is a template. I keep getting:
error C2143: syntax error : missing ';' before '<'
I was hoping for any help.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include "Item.h"
#include <vector>
template <class dataType3, class dataType4>//-----------used for the set items.



class Set_List{

private:

	
	Item<dataType3, dataType4> item;
	vector< Item<dataType3, dataType4> > set_list; //<---problem here...
public:

};
maybe you forgot to specify namespace std:: for vector.
Wow.... I feel so...Thankful. You are a life saver... gosh!
Topic archived. No new replies allowed.