C ++ inline functions study notes sixth curricular

Study Notes content from: Ditai Software College Tangzuo Lin teacher's video, I appreciate your guidance

1. inline function is to replace the macro block, type checking, played
2 will be added when the inline inline function definitions and declarations
3. inline function is called when the C ++ compiler will be directly inserted into the function call function place
4. inline function without additional overhead (push, jump, return) when the ordinary function call
5.C ++ compiler inline functions do not necessarily meet the request
6. can not take the address of the inline function

Information from other bloggers:

Here Insert Picture Description
Here Insert Picture Description

Published 15 original articles · won praise 0 · Views 107

Guess you like

Origin blog.csdn.net/u012321968/article/details/104450047