| 225 | } |
| 226 | |
| 227 | array get(int64_t index) const |
| 228 | { |
| 229 | auto it = std::ranges::upper_bound(offsets_, index) - 1; |
| 230 | ASSERT(it != offsets_.end()); |
| 231 | const auto b = *it; |
| 232 | const auto c = std::distance(offsets_.begin(), it); |
| 233 | return a_[c][index - b]; |
| 234 | } |
| 235 | |
| 236 | protected: |
| 237 | friend class iterator; |