task::operator== 运算符 (C++ REST SDK)
确定两个 task 对象是否表示相同的内部任务。
bool operator==(
const task<_ReturnType>& _Rhs
) const;
bool operator==(
const task<void>& _Rhs
) const;
参数
- _Rhs
返回值
如果这两个对象引用同一基础任务,则为 true;否则为 false。
要求
**标头:**pplxtasks.h
**命名空间:**pplx