+ 6
What is inline function
5 Answers
+ 34
inline function instruct compiler to insert complete body of the function wherever the function got used.
+ 16
C++ inline function is powerful concept that is commonly used with classes. If a function is inline, the compiler places a copy of the code of that function at each point where thefunction is called at compile time.
The compiler can ignore the inlinequalifier in case defined function is more than a line.
https://www.tutorialspoint.com/cplusplus/cpp_inline_functions.htm
+ 4
if u know den y askđ€đ€đ€
+ 4
Inline function is actually a request to the compiler. We can't guarantee on the functioning of it.
Generally it's used for very small functions. And when we use keyword inline, we don't have to declare it explicitly.
0
a type of function whose coding written with its declaration inside the class
(may be đ)