Click to See Complete Forum and Search --> : CList as a parameter


October 20th, 1999, 10:40 AM
When I have a CList as a parameter, as below:

bool CFBlock::GetCompoundBlks( CList<CString, CString&> )




why do I get an error when I do:

CList <CString, CString&> BlkTechDesigList;
FBlk.GetCompoundBlks( BlkTechDesigList );



(FBlk is defined as CFBlock)
???

I get the error:
error C2664: 'GetCompoundBlks' : cannot convert parameter 1 from 'class CList<class CString,class CString &>' to 'class CList<class CString,class CString &>'

Thanks
Fernando Jordan
PS: Pls, reply to jordanf@ch.sibt.com, if possible...