#include "tensorstore/box.h"
template <typename OriginT, typename ShapeT>
explicit tensorstore::Box<Rank>::Box(RankType rank,
                                     
OriginTorigin,
                                     
ShapeTshape);

Constructs from a rank, an origin base pointer, and a shape base pointer.

Parameters:
RankType rank

The rank of the index space.

OriginT *origin

Pointer to array of length rank.

ShapeT *shape

Pointer to array of length rank.

Requires:

OriginT and ShapeT are convertible without narrowing to Index.