
24 May
2006
24 May
'06
1:12 p.m.
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.