$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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