Re: [gtkmm] Re: pthreads with gtk/gtkmm
- From: Paul Davis <paul linuxaudiosystems com>
- To: Leslie Polzer <sky nachtwind net>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] Re: pthreads with gtk/gtkmm
- Date: Tue, 18 Feb 2003 21:05:11 -0500
>On Tue, 18 Feb 2003 17:11:31 +0000
>Enrico Costanza <ec142 york ac uk> wrote:
>
>> void *test(void *arg){
>> Args *a = (Args *) arg;
>You should really use static_cast<Args *>(arg) here.
nope. reinterpret_cast<Args*>(arg). static_cast is used when casting
from child to parent within a class heirarchy.
--p
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]