Archived

This topic is now archived and is closed to further replies.

SpaceMunkee

Error 2784:

Recommended Posts

I''m getting the following error when trying to implement stl lists into my particle code. c:\dev\cube\src\particle.cpp(58) : error C2784: ''bool __cdecl std::operator <(const class std::list<_Ty,_A> &,const class std::list<_Ty,_A> &)'' : could not deduce template argument for ''const class std::list<_Ty,_A> &'' from ''class std::list >::iterator'' I only get this error when trying to use the iterator in a for loop. when I use it in a while statement it doesn''t return an error. Does anyone have any experience with this? I''m using VC 6 with SP5. Thanks, Doug

Share this post


Link to post
Share on other sites