operator== 运算符 (C++ AMP)

确定指定的参数是否相等。

template <
   int _Rank,
   template <int> class _Tuple_type
>
bool operator==(
   const _Tuple_type<_Rank>& _Lhs,
   const _Tuple_type<_Rank>& _Rhs
) restrict(amp);

参数

  • _Rank
    元组参数的等级。

  • _Lhs
    要比较的元组之一。

  • _Rhs
    要比较的元组之一。

返回值

如果元组相等,则为 true;否则,为 false。

要求

**标头:**amp.h

**命名空间:**并发

请参见

参考

Concurrency 命名空间 (C++ AMP)