help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Performance penalty on inline empty function


From: pmatos
Subject: Performance penalty on inline empty function
Date: 15 Apr 2005 08:28:35 -0700
User-agent: G2/0.2

Hi all,

Will an inlined empty function have any performance penalty, i.e., will
g++ generate any code at all for it?

inline void foo(int a) {}

Cheers,

Paulo Matos



reply via email to

[Prev in Thread] Current Thread [Next in Thread]