When you mark a function as inline, you are hinting to the compiler that this function is a candidate for inlining. The compiler can still decide that this is not a good idea, and ignore it.
Is there a way to see if a function will be embedded or not without using a disassembler? Is there a compiler warning that I don't know about, maybe?
What are the embedding rules that the compiler uses? Are there constructs that cause a function to never be embedded, for example?
source
share