#include "tensorstore/index_space/index_domain.h"
template <DimensionIndex OtherRank, ContainerKind OtherCKind>
  
requires (RankConstraint::Implies(OtherRank, Rank))
tensorstore::IndexDomain<Rank, CKind>::IndexDomain(
    
const IndexDomain<OtherRank, OtherCKind>other);
template <DimensionIndex OtherRank, ContainerKind OtherCKind>
  
requires (RankConstraint::Implies(OtherRank, Rank))
tensorstore::IndexDomain<Rank, CKind>::IndexDomain(
    
IndexDomain<OtherRank, OtherCKind>&other);

Converts from another compatible domain.