On Thu, 28 Mar 2013, Gabriel Dos Reis wrote:
C++ has a much more predictable semantics for inline functions, so we no
longer need to define them (especially in header files) with the
'static' specifier. The upshot is that when the compiler fails to
inline a call in a given translation unit, it
Marc Glisse marc.gli...@inria.fr writes:
| On Thu, 28 Mar 2013, Gabriel Dos Reis wrote:
|
| C++ has a much more predictable semantics for inline functions, so we no
| longer need to define them (especially in header files) with the
| 'static' specifier. The upshot is that when the compiler
C++ has a much more predictable semantics for inline functions, so we no
longer need to define them (especially in header files) with the
'static' specifier. The upshot is that when the compiler fails to
inline a call in a given translation unit, it keeps only one copy in the
entire program,