inline的作用

1:inline可以跳过调用,直接引用,类似与直接将函数中的代码拿到当前函数中一样

2:在.h中函数重复的时候可以用inline来解决冲突问题

原文地址:https://www.cnblogs.com/anlg-dongxh/p/5846260.html