Click here to Skip to main content
15,943,362 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A confusing problem... Pin
Rob Manderson27-Nov-03 8:49
protectorRob Manderson27-Nov-03 8:49 
GeneralRe: A confusing problem... Pin
Mike Dimmick27-Nov-03 9:11
Mike Dimmick27-Nov-03 9:11 
GeneralRe: A confusing problem... Pin
Neville Franks27-Nov-03 0:23
Neville Franks27-Nov-03 0:23 
GeneralRe: A confusing problem... Pin
Rob Manderson27-Nov-03 8:50
protectorRob Manderson27-Nov-03 8:50 
GeneralRe: A confusing problem... Pin
Neville Franks27-Nov-03 9:10
Neville Franks27-Nov-03 9:10 
GeneralRe: A confusing problem... Pin
Roger Allen27-Nov-03 3:31
Roger Allen27-Nov-03 3:31 
GeneralDrop-Down toolbar Pin
shyampriya26-Nov-03 22:56
shyampriya26-Nov-03 22:56 
GeneralTemplate class in a vector Pin
Jerome Conus26-Nov-03 22:35
Jerome Conus26-Nov-03 22:35 
Hi !

I'm wondering if it's possible to put a template class in a vector.

Let me explain :

I have a class which is a template, for instance

template <class t="">
class JSObjectList
{
...
};

In my app, I'd like to have a vector of elements of this class, which would look like this (I guess) :

std::vector<jsobjectlist<t> >

If I try to do something like this, the compiler is complaining about many things....so before trying to understand each error, I'd like to know if what I'm trying to do is allowed in C++ !

Thanks !
Jerome
GeneralRe: Template class in a vector Pin
Mike Dimmick27-Nov-03 2:01
Mike Dimmick27-Nov-03 2:01 
GeneralOutlook Express please help Pin
Jump_Around26-Nov-03 21:57
Jump_Around26-Nov-03 21:57 
GeneralSpawning error Pin
Cedric Moonen26-Nov-03 21:51
Cedric Moonen26-Nov-03 21:51 
GeneralRe: Spawning error Pin
Prakash Nadar26-Nov-03 23:47
Prakash Nadar26-Nov-03 23:47 
GeneralRe: Spawning error Pin
Cedric Moonen26-Nov-03 23:57
Cedric Moonen26-Nov-03 23:57 
GeneralVisual C++ 6 and Oracle rman Pin
steffen241226-Nov-03 21:16
steffen241226-Nov-03 21:16 
GeneralI need your suggestions of building a network scan tool. Pin
mctpursuer26-Nov-03 20:56
mctpursuer26-Nov-03 20:56 
QuestionPrinter DC? Pin
murali_utr26-Nov-03 20:33
murali_utr26-Nov-03 20:33 
AnswerRe: Printer DC? Pin
Roger Allen27-Nov-03 3:36
Roger Allen27-Nov-03 3:36 
Questionabababab() - what to do? Pin
dennisV26-Nov-03 18:59
dennisV26-Nov-03 18:59 
AnswerRe: abababab() - what to do? Pin
Prakash Nadar26-Nov-03 21:33
Prakash Nadar26-Nov-03 21:33 
GeneralRe: abababab() - what to do? Pin
dennisV26-Nov-03 21:40
dennisV26-Nov-03 21:40 
GeneralRe: abababab() - what to do? Pin
Prakash Nadar26-Nov-03 23:53
Prakash Nadar26-Nov-03 23:53 
GeneralRe: abababab() - what to do? Pin
dennisV26-Nov-03 23:58
dennisV26-Nov-03 23:58 
GeneralRe: abababab() - what to do? Pin
Prakash Nadar27-Nov-03 0:58
Prakash Nadar27-Nov-03 0:58 
GeneralRe: abababab() - what to do? Pin
dennisV27-Nov-03 1:17
dennisV27-Nov-03 1:17 
GeneralRe: abababab() - what to do? Pin
фил27-Nov-03 3:07
фил27-Nov-03 3:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.