+ 1
What is the inline keyword in C++?
I saw this keyword being used in a tutorial recently when defining a function, but I have no idea what it does.
1 ответ
+ 3
Mateus Oliveira, inline is a keyword that is used to define a function.
If a function is defined as inline then the compiler places a copy of the code of that function at each point where the function is called at compile time
Visit this link 👇 for more information
https://www.google.com/amp/s/www.geeksforgeeks.org/inline-functions-cpp/amp/