| 120 | } |
| 121 | template<class VX, class VY, class VZ> |
| 122 | forceinline bool |
| 123 | ViewBase<VX,VY,VZ>::sharing(const ViewArray<VX>& x, |
| 124 | const VY& y, const VZ& z) { |
| 125 | if (shared(y,z)) |
| 126 | return true; |
| 127 | for (int i=0; i<x.size(); i++) |
| 128 | if (shared(x[i],z)) |
| 129 | return true; |
| 130 | return false; |
| 131 | } |
| 132 | |
| 133 | }}} |
| 134 |