Re: The use of RefPtr
- From: Murray Cumming <murrayc murrayc com>
- To: Jonathon Jongsma <jonathon quotidian org>
- Cc: Hubert Figuiere <hub figuiere net>, gtkmm-list gnome org
- Subject: Re: The use of RefPtr
- Date: Sat, 07 Mar 2009 18:48:04 +0100
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]