Re: The use of RefPtr



Eddie, presumably you are implementing a custom model (which will be
difficult enough already), to avoid duplicating a large block of data
inside the regular ListStore or TreeStore. And presumably it's this
block of data that you don't want to allocate dynamically.

Can't you just do that and use a pointer to it from inside your
TreeModel, rather than trying to change the memory management of the
treemodel itself?

This isn't common enough or advantageous enough for us to try to support
a different memory management system in gtkmm.
 
-- 
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]