#include "tensorstore/rank.h"
struct tensorstore::DynamicRank;

Type of the special dynamic_rank constant.

Conversion operators

constexpr operator DimensionIndex() const;

Enables the use of dynamic_rank below as a constant argument for DimensionIndex Rank template parameters to indicate a dynamic rank (with inline buffer disabled, if applicable).

Methods

constexpr DimensionIndex
operator()(DimensionIndex inline_buffer_size) const;

Enables the use of dynamic_rank(n) as an argument for DimensionIndex Rank template parameters to indicate a dynamic rank with an inline buffer of size n.