Boost logo

Boost :

From: Daniel James (daniel_at_[hidden])
Date: 2004-10-23 05:38:33

Vladimir Prus wrote:
> Alexey Nikitin wrote:
>>I am know only one way - to define pointer to function with needed
>>signature, to initialize it with needed function and pass this pointer to
>>bind. It is single way?
> You can also use cast notation when taking the pointer:
> static_cast<void (*)(int)>(&foo)

Arturo Cuebas suggested a way of doing this in the thread starting here:

Boost list run by bdawes at, gregod at, cpdaniel at, john at