Inline functions | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Inline functions

what are inline functions?

16th May 2017, 12:00 PM
Surjeet Singh Agre
Surjeet Singh Agre - avatar
1 ответ
+ 4
they get inserted in place where you use the function at compile time. most of the time the compiler will do this automatically during optimization if it thinks it should but you can specify this by using the inline keyword
16th May 2017, 12:09 PM
jay
jay - avatar