Export (0) Print
Expand All

operator% Operator (C++ AMP)

Visual Studio 2013

Computes the modulus of the first specified argument by the second specified argument.

template <
   int _Rank,
   template <int> class _Tuple_type
>
_Tuple_type<_Rank> operator%(
   const _Tuple_type<_Rank>& _Lhs,
   typename _Tuple_type<_Rank>::value_type _Rhs
) restrict(amp,cpu);

template <
   int _Rank,
   template <int> class _Tuple_type
>
_Tuple_type<_Rank> operator%(
   typename _Tuple_type<_Rank>::value_type _Lhs,
   const _Tuple_type<_Rank>& _Rhs
) restrict(amp,cpu);

_Rank

The rank of the tuple arguments.

_Lhs

The tuple from which the modulo is calculated.

_Rhs

The tuple to modulo by.

The result of the first specified argument modulus the second specified argument.

Header: amp.h

Namespace: Concurrency

Show:
© 2014 Microsoft