Re: [Boost-bugs] [Boost C++ Libraries] #6450: Patch to allow user to specify current filename macro

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6450: Patch to allow user to specify current filename macro
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-06-22 15:45:41


#6450: Patch to allow user to specify current filename macro
-------------------------------+--------------------------------------------
  Reporter: apolukhin | Owner: emildotchevski
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: exception
   Version: Boost 1.48.0 | Severity: Optimization
Resolution: | Keywords:
-------------------------------+--------------------------------------------

Comment (by apolukhin):

 Replying to [comment:2 emildotchevski]:
> I'm wondering if it isn't a better solution to change
 BOOST_CURRENT_FUNCTION so that it can be overridden globally. I can't
 think of a use case where I'd be worried about code bloat in
 BOOST_THROW_EXCEPTION but not in other invokations of
 BOOST_CURRENT_FUNCTION.

 BOOST_CURRENT_FUNCTION is used in boost::shared_ptr, boost::function and
 other libraries when RTTI is disabled. Changing BOOST_CURRENT_FUNCTION
 will break those libraries

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6450#comment:3>
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:09 UTC