Share via


task::operator== Operator

Determines whether two task objects represent the same internal task.

bool operator==(
   const task<_ReturnType>& _Rhs
) const;

bool operator==(
   const task<void>& _Rhs
) const;

Parameters

  • _Rhs

Return Value

true if the objects refer to the same underlying task, and false otherwise.

Requirements

Header: ppltasks.h

Namespace: concurrency

See Also

Reference

task Class (Concurrency Runtime)