
3 Mar
2004
3 Mar
'04
5:18 p.m.
On 3. Mar 2004, at 17:01, David Turner wrote:
In fact, window is defined thus:
typedef boost::shared_ptr<window_base> window;
I think this can easily lead to retain-cycles, as widgets will often need a pointer to their window, which must be a weak pointer, as there are otherwise no ways to get the reference count of the window down to zero, without first having to remove all the widgets who keep a reference to their window. But maybe the widgets explicitly use window_base instead of window?!? -- http://www.diku.dk/hjemmesider/studerende/duff/