跳至正文
Wener Notes

cpp

约 1 分钟阅读
  • cpp -> C PreProcessor
  • __FILE__, __LINE__
  • __FUNCTION__
  • __func__ - C++11

predefined identifier

text
__LINE__: The line number of the current source line (a decimal constant).
__FILE__: The presumed name of the source file (a character string literal).
__DATE__: The date of translation of the source file (a character string literal...)
__TIME__: The time of translation of the source file (a character string literal...)
__STDC__: Whether__STDC__ is predefined
__cplusplus: The name __cplusplus is defined to the value 199711L when compiling a C ++ translation unit

关联信息

反向链接、本文链接的其他页面和外部资料。

参考资料

其他外链2 条
最近更新commit e4a5270编辑