#include "tensorstore/strided_layout.h"
template <DimensionIndex Rank,
          ArrayOriginKind OriginKind,
          ContainerKind CKind,
          typename LayoutOrder>
  
requires IsContiguousLayoutOrder<
      
LayoutOrder,
      RankConstraint::FromInlineRank(Rank)>
bool tensorstore::IsContiguousLayout(
    
const StridedLayout<Rank, OriginKind, CKind>& layout,
    
LayoutOrder order,
    
Index element_size);

Checks if layout is a contiguous layout with the specified order and element size.