While it would be very convenient to use inline functions at some situations,
Are there any drawbacks with inline functions?
Conclusion:
Excessive inlining of functions can increase size of compiled executable which can have negative impact on cache performance, but nowadays compiler decide about function inlining on their own (depending on many criterias) and ignore inline keyword.