Boost logo

Boost :

From: Gerhard Wesp (gwesp_at_[hidden])
Date: 2006-05-24 09:12:23


On Wed, May 24, 2006 at 08:59:22AM -0400, Caleb Epstein wrote:
> This doesn't work in the context of asio in particular where there are
> async functions that return immediately and can only detect/indicate
> an error condition at a later time (e.g. by passing it to the Handler
> function).

I see. Well, in this case my point would be that the error argument to
the handler should be an exception, i.e. a class in some exception
hierarchy, preferably the standard one.

Regards
-Gerhard

-- 
Gerhard Wesp
ZRH office voice: +41 (0)44 668 1878
ZRH office fax: +41 (0)44 200 1818
For the rest I claim that raw pointers must be abolished.

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