Subject: [Boost-bugs] [Boost C++ Libraries] #6395: Some trivial functions aren't declared inline
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-12 18:45:53
#6395: Some trivial functions aren't declared inline
-----------------------------------+----------------------------------------
Reporter: danivy.mail@⦠| Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be Determined | Component: move
Version: Boost 1.48.0 | Severity: Optimization
Keywords: move inline |
-----------------------------------+----------------------------------------
Many one-liner functions in <boost/move/move.hpp> aren't declared inline.
Some compilers, such as Sun and older GCC's won't inline them as such. For
instance, even something as simple as:
{{{
#include <boost/move/move.hpp>
int main()
{
int x = 123;
return boost::move(x);
}
}}}
Generates a call to boost::move.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6395> 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