#include "tensorstore/box.h"
template <typename BoxType>
  
requires IsBoxLike<BoxType> &&
          
 (!Mutable || IsMutableBoxLike<BoxType>) &&
          
 (RankConstraint::Implies(
               
std::remove_cvref_t<BoxType>::static_rank,
              
 Rank))
tensorstore::BoxView<Rank, Mutable>::BoxView(BoxType&other);

Constructs a box view that refers to the origin and shape vectors of an existing box.

Requires:

If Mutable == true, BoxType must be a mutable Box-like type (such as a non-const Box reference or a MutableBoxView).