Re: [Boost-bugs] [Boost C++ Libraries] #7211: path_locale destructor crashes when overloaded operator new and delete are present

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7211: path_locale destructor crashes when overloaded operator new and delete are present
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-08-09 15:02:58


#7211: path_locale destructor crashes when overloaded operator new and delete are
present
-------------------------------------------------------+--------------------
  Reporter: Michel Lemay <flaming_mike_@…> | Owner: bemandawes
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: filesystem
   Version: Boost 1.51.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------------------------------+--------------------

Comment (by Michel Lemay <flaming_mike_@…>):

 A quick grep in boost source code reveals other places using the same
 approach:

 - date-time have several uses of construct like this one:
     num_put* f = new num_put();

     std::locale l = std::locale(a_ios.getloc(), f);
 - icu and locales:
     std::locale(in,new *_impl<*>(cd));

     std::locale(tmp,new icu_formatters_cache(cd.locale));

     ...

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7211#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:10 UTC