Intel® C++ Compiler Classic Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-83DFA855-046E-4329-8ADF-C0E025C398FC
Visible to Intel only — GUID: GUID-83DFA855-046E-4329-8ADF-C0E025C398FC
linear_index
Wraps an integer-based loop index that is iterating linearly through an iteration space. #include <sdlt/linear_index.h>
class linear_index;
Inside of a linear loop, wrap the loop index with a linear_index to allow addition or subtraction of offsets.
Member |
Description |
---|---|
explicit linear_index(int an_index); |
Construct instance from a loop index |
int value() const; |
Returns the original loop index |