How will i know whether inline function is actually replaced at the place where it is called or not?
Programatically at run-time, You cannot. And the truth of the matter is: You don’t need to know An compiler can choose to inline functions that are not marked inline or ignore functions marked explicitly inline, it is completely the wish(read wisdom) of the compiler & You should trust the compiler do its job judiciously. Most … Read more