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

Returns the inclusive upper bound of the interval.

Returns:

inclusive_min() + size().

Invariant:

exclusive_max() <= kInfIndex + 1