Re: how to make a deletion slot?
- From: Paul Pogonyshev <pogonyshev gmx net>
- To: paul linuxaudiosystems com
- Cc: gtkmm-list gnome org
- Subject: Re: how to make a deletion slot?
- Date: Tue, 31 Oct 2006 22:41:53 +0200
Paul Davis wrote:
> On Mon, 2006-10-30 at 01:00 +0200, Paul Pogonyshev wrote:
> > Hi,
> >
> > Is there a way to make a slot that calls `delete arg' on its argument
> > pointer (of a known type.) It is trivial to write a one-line function
> > for it, but maybe there is a standard one ready for this?
>
> its not as trivial as you might think, because the lifetime of the
> object during event processing can be important.
Not in my case, anyway. At least simply wrapping `delete this' in a
function worked. Thank you anyway, I'll keep that in mind if I run
into a problem with this.
Paul
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]