这是c++里最短的头文件:crtdefs.h。
代码只有 行,有用的代码更是只有 行,剩下的不是空行就是注释。
以下是源码:
/**
* This file has no copyright assigned and is placed in the Public Domain.
* This file is part of the mingw-w64 runtime package.
* No warranty is given; refer to the file DISCLAIMER.PD within this package.
*/
#ifndef _INC_CRTDEFS
#define _INC_CRTDEFS
#include <corecrt.h>
#endif /* _INC_CRTDEFS */上面的注释翻译:
本文件未分配任何版权,已放入公有领域。
本文件是 mingw-w64 运行时包的一部分
不提供任何担保;请参阅此包中的 DISCLAIMER.PD 文件。所以大家有空一定要去翻一翻头文件,会有很多好东西的(比如int32_t,int_fast32_t,int least32_t都是int