Share via


cancellation_token::operator== Operator

Determines whether two cancellation_token objects represent the same underlying token.

bool operator==(
   const cancellation_token& _Rhs
) const;

Parameters

  • _Rhs
    The cancellation_token object to compare with.

Return Value

true if the two objects represent the same underlying token, false otherwise.

Requirements

Header: ppl.h

Namespace: concurrency

See Also

Reference

cancellation_token Class