An inline function cannot be expanded when the inline function body refers to a restricted member that is not accessible where the function is called.
For example, if an inline function refers to a strict private field and this function is called from outside the class (e.g. from a global procedure), the field is not accessible at the call site and the inline function is not expanded.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|