#include "tensorstore/index_interval.h"
friend std::ostream&
tensorstore::IndexInterval::operator<<(std::ostreamos,
                                       
IndexInterval x);

Writes a string representation of an interval to an ostream.

The output format is “[lower, upper]”, where lower may be “-inf” and upper may be “+inf”.