Posted by Jay on December 02, 2001 at 23:46:19:
I have a queue using the STL and I have filled it with task objects. Now I am trying to acess those task objects by using pop. But it seems pop returns void. And when i do this:
popped = task_queue.pop()
I get the error:F:\C++projects\tow\dispatcher.cpp(74) : error C2679: binary '=' : no operator defined which takes a right-hand operand of type 'void' (or there is no acceptable conversion)
Can anyone help me out?
Post a Followup