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

Specifies the inclusive upper bounds. Specify a value of kInfIndex 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 inclusive_max index for each dimension.

Pre:

valid() == true

Checks:

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

Note

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