Archived

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

Problem with Deque (STL)

This topic is 5241 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

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