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;

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

Header: ppltasks.h

Namespace: concurrency

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft