Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2048: exception when I create boost::RegEx in destructor code flow
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-07-11 17:24:13
#2048: exception when I create boost::RegEx in destructor code flow
----------------------------------------+-----------------------------------
Reporter: Boris <boris_k_at_[hidden]> | Owner: johnmaddock
Type: Bugs | Status: assigned
Milestone: To Be Determined | Component: regex
Version: Boost 1.35.0 | Severity: Problem
Resolution: | Keywords: exception SetExpression
----------------------------------------+-----------------------------------
Changes (by johnmaddock):
* status: new => assigned
Comment:
Boris, I don't know how to answer this, as the answer would appear to
depend upon the details of how MSVC implements destructors :-(
Personally, I think that this should work, although generally speaking,
creating a new regex object during a destructor call seems like a bad idea
anyway? Looking at the call stack the error appears to be somewhere
inside the std lib code, so I don't really see how I can fix that.
If you have a test case I can look at then I'll try and take a look,
otherwise <shrug> I guess, don't know what to say really...
John.
-- Ticket URL: <http://svn.boost.org/trac/boost/ticket/2048#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:49:58 UTC