I know that the compiler may or may not perform the built-in function extension requested by the programmer or not.I was just curious to know if there is a way in which a programmer can know for sure that the compiler has introduced a specific function?
Also, if you look at the generated code, no. Some implementations may provide this information, but this is not required by the standard.
, inline register (), , , , , : )
inline
register
, , , , .
, . , , , .
, : A B, C, A C , A C , B .
A
B
C
.
, .
"", , .
register, .
, , ,
, ,
Make the function definition visible to the translation unit in which it is called. those. you always need to put the definition of the inline function in the header file.