#include "tensorstore/util/iterate.h"
class tensorstore::LayoutOrderConstraint;

Specifies an order constraint on a strided layout/iteration order, equivalent to an algebraic sum of ContiguousLayoutOrder and unspecified_order.

There are three possible values: c_order (must be in C order), fortran_order (must be in Fortran order), and unspecified_order (no constraint on order).

Conversion operators

explicit constexpr operator bool() const;

Returns true if the order is constrained.

Methods

constexpr ContiguousLayoutOrder order() const;
constexpr int value() const;

Returns the order.