Boost logo

Boost :

Subject: Re: [boost] BOOST_FORCE_INLINE
From: Olaf van der Spek (ml_at_[hidden])
Date: 2011-10-09 20:02:05

On Mon, Oct 10, 2011 at 1:50 AM, Mathias Gaunard
<mathias.gaunard_at_[hidden]> wrote:
> They're slightly different: __forceinline works just like the normal inline
> specifier, while __attribute__((always_inline)) can be placed in various
> places like other GCC attributes, but only has an effect if the function is
> also inline.

Shouldn't the decision to inline be left to the compiler?


Boost list run by bdawes at, gregod at, cpdaniel at, john at