共用方式為


task::operator!= Operator

Determines whether two task objects represent different internal tasks.

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

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

Parameters

  • _Rhs

Return Value

true if the objects refer to different underlying tasks, and false otherwise.

Requirements

Header: ppltasks.h

Namespace: concurrency

See Also

Reference

task Class (Concurrency Runtime)