| 55 | pointer data() const { return first_; } |
| 56 | reference operator[](size_type idx) const { return first_[idx]; } |
| 57 | Span<T> subspan(size_type offset) const { |
| 58 | if (count_ > offset) { |
| 59 | return Span(first_ + offset, count_ - offset); |
| 60 | } |
| 61 | return Span<T>(); |
| 62 | } |
| 63 | |
| 64 | private: |
| 65 | T* first_ = nullptr; |