Boost logo

Boost :

Subject: Re: [boost] Boost and exceptions
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2012-06-23 08:57:04

On 06/23/2012 12:25 PM, Jeffrey Lee Hellrung, Jr. wrote:

>> From what I can find in the list archives [1], Boost.FileSystem also had a
> similar issue with the requirement that thrown exceptions inherit from
> std::exception. However, I'm not sure if [1] prompted the FileSystem-local
> hook or if it was resolved in some other way.

All exceptions should inherit from std::exception. There is no need to
involve the boost::exception type in your code to use throw_exception.

Boost list run by bdawes at, gregod at, cpdaniel at, john at