Re: [glade--] Could raw C++ pointers be eliminated?



> Christof Petig schrieb:
>> At the time I implemented Toolbars, Dialogs and Menus I simply gave up
>> to bother about member variable order. [variable order is spread between
>> two to three different functions, the ctor code emitter is much more
>> linear and local to write].
>
> The other reason is that ctor local variables (and widgets) are not
> possible with member variables once any member widget needs a reference
> to it (e.g. spinbuttons and alignments)

Why not? Can you give an example?

By the way, I should reword the text in that gtkmm FAQ entry. It's a bit
too strongly worded.

> Concerning smart pointers: The gtkmm infrastructure needs to work well
> first.

Specifically?

Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]