Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2006-02-21 11:05:43


Beman Dawes <bdawes_at_[hidden]> writes:

> Peter Dimov wrote:
>
>> 1. system_error 'obviously' needs to derive from std::exception, but whether
>> it needs to derive from std::runtime_error isn't clear.
>
> Hum... I assumed that a system_error was 'obviously' a runtime error,
> and thus should be derived from std::runtime_error. What am I missing?

std::runtime_error loses meaning pretty quickly when you look at it
closely, since everything reported by an exception is a runtime error,
by definition :)

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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