swap (note: linear complexity)
| 155 | |
| 156 | // swap (note: linear complexity) |
| 157 | void swap (array<T,N>& y) { |
| 158 | for (size_type i = 0; i < N; ++i) |
| 159 | boost::swap(elems[i],y.elems[i]); |
| 160 | } |
| 161 | |
| 162 | // direct access to data (read-only) |
| 163 | const T* data() const { return elems; } |
no test coverage detected