#include "tensorstore/schema.h"
struct tensorstore::Schema::Shape : public span<const Index>;

Strongly-typed alias of span<const Index> for representing a shape constraint.

Constructors

explicit Shape(span<const Index> s);
explicit Shape(const Index (&s)[N]);

Constructs from a span or braced list of extents.