#include "tensorstore/index_space/index_domain_builder.h"
template <typename Indices>
IndexDomainBuilder&
tensorstore::IndexDomainBuilder<Rank>::shape(const Indices& indices);
template <size_t N>
IndexDomainBuilder& tensorstore::IndexDomainBuilder<Rank>::shape(
    
const Index (&indices)[N]);

Sets the shape vector to the specified value. Specify a value of kInfSize to indicate an unbounded (infinite) upper bound.

Parameters:
const Indices &indices
const Index (&indices)[N]

A sequence with value_type convertible to Index specifying the size for each dimension.

Pre:

valid() == true

Checks:

The size of the indices vector must equal rank().

Note

Calling this method after the upper bound has already been specified simply overrides the previous value.