Valid template class argument types?
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I've been searching everywhere for a list of valid arguments to pass into a template class, and I can't find anything. I know that you can use "class" and any basic type, such as int, char, bool, etc., but I don't know how to pass in a string, for example. :confused: I would like my template to be defined something like: template MyTemplate... I've tried using "char *", "VARIANT", and "BSTR", but the compiler won't accept any of them. Any help is greatly appreciated! Thanks, Jason