ParallelForIndex¶
[req.parallel_for_index]
A type Index satisfies ParallelForIndex if it meets the following requirements:
ParallelForIndex Requirements: Pseudo-Signature, Semantics
-
Index::~Index()¶ Destructor.
-
void
operator=(const Index&)¶ Assignment.
Note
The return type
voidin the pseudo-signature denotes thatoperator=is not required to return a value. The actualoperator=can return a value, which will be ignored.
-
bool
operator<(const Index &i, const Index &j)¶ Value of i precedes value of j.
-
D
operator-(const Index &i, const Index &j)¶ Number of values in range
[i,j).
-
Index
operator+(const Index &i, D k)¶ k-th value after i.
D is the type of the expression j-i. It can be any integral type that is convertible to size_t.
Examples that model the Index requirements are integral types and pointers.
See also: