Поделиться через


extent::contains Method

Indicates whether the specified index value is contained within the extent object.

bool contains(
   const index<rank>& _Index
) const restrict(amp,cpu);

Parameters

  • _Index
    The index value to test.

Return Value

true if the specified index value is contained in the extent object; otherwise, false.

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Reference

extent Class (C++ AMP)