Boost logo

Boost :

From: Martin Bonner (martin.bonner_at_[hidden])
Date: 2005-12-12 11:34:49


----Original Message----
From: Giovanni P. Deretta [mailto:gpderetta_at_[hidden]]
Sent: 12 December 2005 16:00
To: boost_at_[hidden]
Subject: Re: [boost] [asio] my review

>> I'm against introduzing exceptions. But I agree it may be possible to
>> work a little more in the error handling. But, IMO, it should be like
>> adding helper classes for this, but not throwing exceptions.
>>
>
> I think too that the current asio error handling interface is fine,
> and it is not worth changing it a this time.

Has anybody got a "non-ignorable return" class that they could add to boost?
(A class that encapsulates a return value whose destructor asserts/aborts if
the return code has not been examined or deliberatedly ignored by the
calling code.)

It would be a natural for this sort of application, and would be a generally
useful utility class.

-- 
Martin Bonner
Martin.Bonner_at_[hidden]
Pi Technology, Milton Hall, Ely Road, Milton, Cambridge, CB4 6WZ,
ENGLAND Tel: +44 (0)1223 441434

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