_(node)->Execute() 中下划线的目的是什么 c++
What is the purpose of the underscore in _(node)->Execute() for c++
在这种情况下,下划线不是标识符的一部分。我看到的代码看起来像
for(auto nodeItr = myNodes.begin(); nodeItr != myNodes.end(); nodeItr++) {
auto node = *nodeItr;
int status = _(node)->Execute();
if (status != 0) return -1;
}
有一系列包装器函数声明为类似NodePtrWrapper* _(...)
感觉很愚蠢,但很感激你的回应。。。
相关文章:
- 在集合的情况下使用emplace_hint的用例是什么?
- 在这种情况下,int**在C中是什么意思
- "错误:数组下标的无效类型'float [10001][float]'是什么意思?
- 双标具有下标运算符的原因是什么?
- 在这种情况下,#define 的作用是什么?
- 在这种情况下,我们可以使用静态而不是朋友吗,还有其他解决方案是什么
- 在不编写显式 setter 的情况下修改私有类数据成员的便捷方法是什么?模板有用吗?
- 在没有额外代码的情况下链接两个独立类的最通用方法是什么?
- 使用与号后跟下划线命名的变量是什么意思?
- 在发布模式下崩溃,但如果可调试为 true - 不是..什么是可能的问题
- 在C++编程中继续下一行的另一种方法是什么?
- 打开文件的正确模式是什么,以便 seekp() 的工作方式与在默认模式下打开的文件相同
- 在Typedef结构中,下划线意味着什么
- 一般来说,使用Qt Creator,是什么导致程序在调试模式下编译时正确运行,但在发布模式下崩溃
- 为什么非下划线名称保留给 UDL 的实现,而不是相反
- 在这种情况下,>=是什么意思
- 在Hpux C程序中__(两个下划线)代表什么?
- c++stl库这些带下划线的方法是什么
- 命名约定-在C++标识符中使用下划线的规则是什么
- VB DLL 中的下划线符号是什么