Boost logo

Boost Users :

Subject: Re: [Boost-users] boost exception question when threadinglibrary header is included.
From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2011-06-10 14:03:02

On Fri, Jun 10, 2011 at 9:29 AM, Robert Ramey <ramey_at_[hidden]> wrote:
> How can just including a header invoke an exception - before main(..) is
> even called and not have it be a bug?

Exception != bug.

You seem to misunderstand the problem. The library used to throw an
exception as part of its initialization, which it catches itself, also
as part of its initialization. This turned out to be annoying if you
have the IDE break on exceptions, and so in the current version the
code was refactored to work without throwing and catching an

Emil Dotchevski
Reverge Studios, Inc.

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at