Re: [gtkmm] using RefPtr out of Gtkmm
- From: Ole Laursen <olau hardworking dk>
- To: gtkmm-list gnome org
- Subject: Re: [gtkmm] using RefPtr out of Gtkmm
- Date: Tue, 10 Feb 2004 21:07:04 +0100
Murray Cumming <murrayc murrayc com> writes:
> On Fri, 2004-02-06 at 18:34, Jose Felix Hernandez Barrio wrote:
[...]
>> 1- Is there any tutorial for refptr?
>> 2- Can i use refptr out of gtkmm class hierarchy? must i derive my
>> classes from any glib o gtk classes and add any functionality ???
>
> RetPtr is documented in the reference documentation and the book. It is
> not a general purpose smartpointer. But it's not difficult to write a
> general purpose shared reference-counting smartpointer.
But beware if the application is multi-threaded. Then it is a bit less
trivial.
--
Ole Laursen
http://www.cs.auc.dk/~olau/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]