Boost logo

Boost Users :

Subject: Re: [Boost-users] boost::bind
From: Hansi (hansipet_at_[hidden])
Date: 2009-02-06 04:07:07


Max schrieb:

>> in some external header file I have the declaration
>>
>> typedef void (* FUNCTION)(int ,void *);
>
> try with
> typedef boost::function<void (int ,void *)> FUNCTION;
>
>> void SetCallback(FUNCTION cb);

I can't change this definition because it is in an header of an external
library...Is there another way?

Regards
Hansjörg


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net