Modify

Ticket #6395 (closed Bugs: fixed)

Opened 2 years ago

Last modified 2 years ago

Some trivial functions aren't declared inline

Reported by: danivy.mail@… Owned by: igaztanaga
Milestone: To Be Determined Component: move
Version: Boost 1.48.0 Severity: Optimization
Keywords: move inline Cc:

Description

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.

Attachments

Change History

comment:1 Changed 2 years ago by igaztanaga

  • Status changed from new to closed
  • Resolution set to fixed

One liners declared inline. At revision: 76506

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.