Boost logo

Boost :

Subject: Re: [boost] BOOST_FORCE_INLINE
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2011-10-10 05:39:40


On 10/10/2011 10:47, Thorsten Ottosen wrote:

> I do think, from an optimization point of view, that it is /not/ an
> optimal/complete solution. It would often be better to request at a
> call-site that the function should be inline here, and only here.

Yes, that would be better, but AFAIK only GCC supports this (flatten
attribute).


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk