#include "tensorstore/spec.h" friend booltensorstore::Spec::operator==(const Spec& a, const Spec& b); friend booltensorstore::Spec::operator!=(const Spec& a, const Spec& b); Compares for equality via JSON representation, except that bound context resources are compared by identity.