Archived

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

borisnico

Problem with Deque (STL)

Recommended Posts

I''m using a Deque to store pointers to objects of class window (one of my owns). When I push_back a pointer to a button (inherited from class window) casted to pointer to window, it is inserted twice. This is only happening in one place of the code. i.e. when i do the same thing elsewhere it works. I already read the documentation at www.sgi.com. I''m using gcc 3.2.2, running on Linux Redhat 9. Anyone has a clue on what may be happening? P.S: sorry about my bad english (i''m not a native speaker)

Share this post


Link to post
Share on other sites
Post your code, including the code you use to display the members of the deque.


How appropriate. You fight like a cow.

Share this post


Link to post
Share on other sites