diff --git a/ttg/ttg/util/multiindex.h b/ttg/ttg/util/multiindex.h index 5c04494e2..e60488f98 100644 --- a/ttg/ttg/util/multiindex.h +++ b/ttg/ttg/util/multiindex.h @@ -70,6 +70,13 @@ namespace ttg { } std::array data_; + + friend bool operator==(const MultiIndex &lhs, const MultiIndex &rhs) { + return lhs.data_ == rhs.data_; + } + friend bool operator!=(const MultiIndex &lhs, const MultiIndex &rhs) { + return !(lhs == rhs); + } }; template