System::Threading::Tasks::ResultValueTask::operator== method

ResultValueTask::operator== method

Equality operator for ResultValueTask.

bool System::Threading::Tasks::ResultValueTask<T>::operator==(const ResultValueTask &other) const
ParameterTypeDescription
otherconst ResultValueTask&The other ResultValueTask to compare with this instance.

ReturnValue

bool True if both tasks have the same result value or reference the same underlying task; otherwise, false.

Remarks

If either instance contains a direct result value, compares the results directly. Otherwise, compares the underlying task pointers.

See Also