#include "tensorstore/array.h"
template <typename ElementTagB,
         
 DimensionIndex RankB,
         
 ArrayOriginKind OriginKindB,
         
 ContainerKind CKindB>
friend bool tensorstore::
    
Array<ElementTagType, Rank, OriginKind, LayoutContainerKind>::
    
operator==(
        
const Arraya,
        
const Array<ElementTagB, RankB, OriginKindB, CKindB>b);

Compares the contents of two arrays for equality.

This overload checks at compile time that the static ranks and element types of a and b are compatible.

Returns:

true if a and b have the same shape, data type, and contents.