problem with vectors
Posted on 2003-03-10
for some reason i keep getting the following error
c:\program files\microsoft visual studio\vc98\include\xutility(39) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'const class item' (or there is no acceptable conversion)
c:\program files\microsoft visual studio\vc98\include\vector(170) : see reference to function template instantiation 'void __cdecl std::fill(class item *,class item *,const class item &)' being compiled
Error executing cl.exe.
i have it so there is a class that has a two vectors, both are vectors with another class i have in them. i doubt that is what is causing the error, but there are no obvious syntax errors... anyone out there got any idea as to what might cause this error? and if so how do i fix it? if you need me to i can post all the relevant code