Re: [Boost-bugs] [Boost C++ Libraries] #5735: proto should force functions to be inline

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5735: proto should force functions to be inline
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-01 13:39:50


#5735: proto should force functions to be inline
-------------------------------+--------------------------------------------
  Reporter: mgaunard | Owner: eric_niebler
      Type: Feature Requests | Status: closed
 Milestone: To Be Determined | Component: proto
   Version: Boost 1.47.0 | Severity: Problem
Resolution: invalid | Keywords:
-------------------------------+--------------------------------------------

Comment (by mgaunard):

 I suggest at least proto::value(), proto::child, make_expr and related
 transforms be marked force inline.
 Looking at assembly, it happens relatively often that boost::proto::value
 is not inlined, even though it definitely should always be.

 boost/config.hpp now contains a BOOST_FORCEINLINE macro that can be used
 for this purpose.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5735#comment:6>
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:07 UTC