huihut / interview

📚 C/C++ 技术面试基础知识总结,包括语言、程序库、数据结构、算法、系统、网络、链接装载库等知识及面试经验、招聘、内推等信息。This repository is a summary of the basic knowledge of recruiting job seekers and beginners in the direction of C/C++ technology, including language, program library, data structure, algorithm, system, network, link loading library, interview experience, recruitment, recommendation, etc.
https://interview.huihut.com
Other
34.8k stars 7.97k forks source link

关于内联函数特征的描述 #18

Closed returnzero23 closed 6 years ago

returnzero23 commented 6 years ago

类中除了虚函数的其他函数都会自动隐式地当成内联函数。

应该是 在类声明中定义的函数,除了虚函数之外的其他函数都会自动隐式地当成内联函数。

huihut commented 6 years ago

确实是这点忽略了,感谢。