Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2008-07-30 10:55:21


on Wed Jul 30 2008, Mathias Gaunard <mathias.gaunard-AT-ens-lyon.org> wrote:

> David Abrahams wrote:
>> on Tue Jul 29 2008, Mathias Gaunard <mathias.gaunard-AT-ens-lyon.org> wrote:
>
>>> The difference between exceptions and asserts are that, while both are
>>> errors, exceptions is a system to report error and asserts is a system
>>> to check that errors do not occur.
>>> So the Error Handling category could be subdivided in Error Reporting
>>> (which would also contain error codes and logging) and Error Checking
>>> (which would also contain the testing framework).
>>
>> That might be a good idea.
>
> Actually logging is more "error checking" I guess, since you cannot
> catch the error and recover from it in the program.

Logging seems to me to be about reporting. "Reporting" doesn't
say anything about recovery to me.

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com

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