Mettle C++ Test Framework's use of undescore
This question already has an answer here:
Is there something special going on with the use of underscore
Underscore is a valid character to use in an identifier. Some uses of underscore in an identifier are reserved for the implementation: What are the rules about using an underscore in a C++ identifier? But none of those apply to a single underscore in block scope.
is it a valid variable name?
Here, yes. It wouldn't be in global namespace.
链接地址: http://www.djcxy.com/p/40322.html下一篇: Mettle C ++测试框架使用非内核