Re: [Boost-bugs] [Boost C++ Libraries] #3295: throwing exception / assert in destructor

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3295: throwing exception / assert in destructor
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-08-07 09:11:50


#3295: throwing exception / assert in destructor
-----------------------------------------+----------------------------------
  Reporter: BDM <benoitdm@…> | Owner: igaztanaga
      Type: Bugs | Status: closed
 Milestone: Boost 1.40.0 | Component: interprocess
   Version: Boost 1.38.0 | Severity: Problem
Resolution: invalid | Keywords: exception assert destructor
-----------------------------------------+----------------------------------
Changes (by igaztanaga):

  * status: new => closed
  * resolution: => invalid

Comment:

 An assertion is not an exception, and is only activated in debug mode to
 catch errors. It's not equivalent to throwing an exception. If the
 assertion fails, then you have a really severe bug in your program,
 showing that the object is corrupted.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3295#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:01 UTC