#include "tensorstore/index_interval.h"
constexpr Index tensorstore::IndexInterval::inclusive_max() const;

Returns the inclusive upper bound of the interval.

Returns:

inclusive_min() + size() - 1.

Invariant:

inclusive_max() <= kInfIndex

Invariant:

inclusive_max() >= kMinFiniteIndex