Mettle C++ Test Framework's use of undescore

This question already has an answer here:

  • What are the rules about using an underscore in a C++ identifier? 5 answers

  • 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

    上一篇: 如果我们已经拥有RVO,移动语义会提供哪些优化?

    下一篇: Mettle C ++测试框架使用非内核