Re: [gtkmm] Re: pthreads with gtk/gtkmm



>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]