R
.rhavin grobert
if you have
class Base {
virtual inline bool foo() {return false;};
};
class Derived: public Base {
virtual bool foo();
};
bool Derived:foo()
{
/* lot's of code here */
return true;
};
is foo() always inlined for Base? is foo always (jumped /
called / ...) (<-?) for Derived?
class Base {
virtual inline bool foo() {return false;};
};
class Derived: public Base {
virtual bool foo();
};
bool Derived:foo()
{
/* lot's of code here */
return true;
};
is foo() always inlined for Base? is foo always (jumped /
called / ...) (<-?) for Derived?