Inline Functions Question.

Will the compiler always insert the body of inline functions where they are called in code?

No. it can decide to not to if it would hamper perfomance and provide no benefits. On the other hand it can inline even function which are not declared inline if it thinks it would help.

inline keyword is a request, not an order.
Topic archived. No new replies allowed.