CppCoreGuidelines SF.1 如果项目里没有其他约定,请用 .cpp 作为代码文件后缀,.h 作为接口文件后缀
04 November 2023
“Use a .cpp suffix for code files and .h for interface files if your project doesn’t already follow another convention”
“Use a .cpp suffix for code files and .h for interface files if your project doesn’t already follow another convention”