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

Subject: [Boost-bugs] [Boost C++ Libraries] #5735: proto should force functions to be inline
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-26 10:52:58


#5735: proto should force functions to be inline
------------------------------+---------------------------------------------
 Reporter: mgaunard | Owner: eric_niebler
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: proto
  Version: Boost 1.47.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 Some functions in Boost.Proto should really always be inlined;
 unfortunately, they don't always properly get inlined, sometimes due to
 compiler bugs (I can think of problems with a certain GCC version on
 64-bit for example).

 I suggest that Proto does what it can to force those functions to be
 inline (using __attribute__((always_inline)) on GCC and __forceinline with
 MSVC).
 This will also have the effect of yielding warnings when a function can't
 be inlined, and at least with GCC, functions will be inlined even in debug
 mode.

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