Just started playing around with containers and am trying to create a Deque that will hold pointers to objects. (I'm not sure if its a good idea to do that but i would love your input).
But i get errors when i try to push_back a pointer. Heres my code:
@Line 14:
Shouldn't that be deque <Object*>? You're trying to use push_back() which is expecting an Object (because of the type of the deque), but you're giving it an Object*.