Boost logo

Boost :

From: Jeremy Day (jeremy.day_at_[hidden])
Date: 2006-07-18 16:19:51


On 7/18/06, Andreas Huber <ahd6974-spamgroupstrap_at_[hidden]> wrote:
>
> How is your approach better than:

[snip]

Heh. Well, when you put it that way it probably isn't. However, the
function object that you pass into catcher could contain application state
information. You could also use any functor that you happen to have around
that has operator()(std::logic_error&), operator()(std::exception&), or
operator()(void).

Jeremy


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