Boost logo

Boost :

From: Jesse Jones (jejones_at_[hidden])
Date: 2000-12-18 18:46:02


>--- In boost_at_[hidden], Jesse Jones <jejones_at_a...> wrote:
>> >
>> >typedef bool (*assertion_failure_fcn)(void* arg, const char* file,
>> >unsigned line, const char* message);
>>
>> What's arg for?
>>
>It's a standard technique when defining callbacks. It allows the
>client to specify data associated with the callback.

I don't see how this would be useful in this context. Do you have an
application in mind?

  -- Jesse


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk