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-02 11:15:20


#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):

 The attached patch adds BOOST_FORCEINLINE to the following functions:

 - as_lvalue, ignore_unused, dont_care
 - as_child, as_expr
 - proto_base, address_of_hack
 - child, child_c, value
 - make_expr, unpack_expr
 - operators and operators defined by extends, extends constructor
 - built-in generators
 - the transform operator() overloads that give dummy state and data
 - call, make, when and pass_through transforms

 This patch adds a significant number of BOOST_FORCEINLINE, but all of them
 make sense, because the functions in question are lightweight wrappers or
 only forward non-recursively to another function.

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