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-01-26 17:09:22


#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:
-------------------------------+--------------------------------------------
Description changed by apolukhin:

Old description:

> When or BOOST_THROW_EXCEPTION used, compiler generates a string with
> function name.
> If a function is templated, compiler will generate a string for each
> function template. That leads to a huge binary files.
>
> Attached patch, that allows to disable construction of such strings or to
> use different macro for current function name (for example macro that
> prints ONLY function name).
>
> [http://lists.boost.org/Archives/boost/2012/01/189853.php More info]

New description:

 When BOOST_THROW_EXCEPTION used, compiler generates a string with function
 name.
 If a function is templated, compiler will generate a string for each
 function template. That leads to a huge binary files.

 Attached patch, that allows to disable construction of such strings or to
 use different macro for current function name (for example macro that
 prints ONLY function name).

 [http://lists.boost.org/Archives/boost/2012/01/189853.php More info]

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