It took me a while to figure outChatPage::onAuthEvent(). What is not said
is that after calling
mainStack_->clear() then the scores_ and links_ widgets have been deleted.
Right? I mean they are contained, by the
HangmanGame object, which deletes them when it gets deleted from the
mainStack.
That makes me wonder, would it be better to store then in the containers
with shared_pointers, and then in the HangmanGame as a weak_pointer? That
way they do not have to be manually deleted after their objects are gone?
Just a thought,
Cassie Ellen
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
witty-interest mailing list
witty-interest@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/witty-interest