| 104 | |
| 105 | template <typename OPtr> |
| 106 | bool operator<(const const_sub_array<T,NumDims,OPtr>& rhs) const { |
| 107 | return std::lexicographical_compare(begin(),end(),rhs.begin(),rhs.end()); |
| 108 | } |
| 109 | |
| 110 | template <typename OPtr> |
| 111 | bool operator==(const const_sub_array<T,NumDims,OPtr>& rhs) const { |