Topic: Function called on reference not inlined?


Author: "Igor Okulist" <igor-okulist@uiowa.edu>
Date: No Date
Raw View
Here is a sample code:

Class_Name    Obj1(params..)
Class_Name& Obj2 = Obj1;

Obj1.func();
Obj2.func();

In the first call the function IS inlined,
but NOT in the second one

Why?

Thanks in advance
(please if you answer, send it to
group and directly to me)