|
-
May 25th, 2015, 01:47 AM
#1
Vector of Templates Problem
I want to create a vector of templates but I'm getting 2 linker errors.
I am doing the following :
template<typename T>
int main()
{
vector<T> exp;
return 0;
}
I really need to store elements of different types in the same vector. Please help thank you.
Tags for this Thread
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
|