| 217 | |
| 218 | template<class T> |
| 219 | FixedArray<int> operator == (const StringArrayT<T> &a0, const StringArrayT<T> &a1) { |
| 220 | size_t len = a0.match_dimension(a1); |
| 221 | FixedArray<int> f(len); |
| 222 | const StringTableT<T> &t0 = a0.stringTable(); |
| 223 | const StringTableT<T> &t1 = a1.stringTable(); |
| 224 | for (size_t i=0;i<len;++i) { |
| 225 | f[i] = t0.lookup(a0[i])==t1.lookup(a1[i]); |
| 226 | } |
| 227 | return f; |
| 228 | } |
| 229 | |
| 230 | template<class T> |
| 231 | FixedArray<int> operator == (const StringArrayT<T> &a0, const T &v1) { |
nothing calls this directly
no test coverage detected