Developer Guide and Reference

Contents

linear_index

Wraps an integer-based loop index that is iterating linearly through an iteration space.
#include <sdlt/linear_index.h>

Syntax

class linear_index;
Description
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

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimizat