hi,

The following is a simplification of my problem:

struct Base { virtual void func() = 0; };

struct Derived : Base { inline void func() {...} };

Derived& d = ...;
d.func();

This last call is not being inlined. Is this normal? (As I said my example is 
more complex, I didn't check if the above is inlined or not). Also in my 
example, compiling with -Winline does not warn me that it is not inlined. I 
discovered it only by profiling the executable.

I can provide more details, in case this does not have a trivial answer.

Thanks! (please email me directly as I'm not subscribed)
-- 
Marco Correia <[EMAIL PROTECTED]>

Reply via email to