cancellation_token_source::operator== Operator

Determines whether two cancellation_token_source objects represent the same token source.

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

Parameters

  • _Rhs
    The cancellation_token_source object to compare with.

Return Value

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

Requirements

Header: ppl.h

Namespace: concurrency

See Also

Reference

cancellation_token_source Class