声明定义R-1-1-4强制
禁止遮蔽标准库标识符
C/C++ 标准库标识符包含类型与变量标识符,禁止用户重新定义这些标识符。
违背示例
test.cpp
1void foo(void)2{3 unsigned int EOF = 0;禁止遮蔽标准库标识符 [gjb8114-r-1-1-4]4 unsigned int clog = 0;禁止遮蔽标准库标识符 [gjb8114-r-1-1-4]5 unsigned int cerr = 0;禁止遮蔽标准库标识符 [gjb8114-r-1-1-4]6 unsigned int endl = 0;禁止遮蔽标准库标识符 [gjb8114-r-1-1-4]7}