| 1205 | /// May throw if the array is not writeable. |
| 1206 | template <typename... Ix> |
| 1207 | void *mutable_data(Ix... index) { |
| 1208 | check_writeable(); |
| 1209 | return static_cast<void *>(detail::array_proxy(m_ptr)->data + offset_at(index...)); |
| 1210 | } |
| 1211 | |
| 1212 | /// Byte offset from beginning of the array to a given index (full or partial). |
| 1213 | /// May throw if the index would lead to out of bounds access. |