| 146 | return indices_.back(); |
| 147 | } |
| 148 | ShapeIndexView ConsumeFront() const { |
| 149 | ShapeIndexView result = *this; |
| 150 | result.indices_.remove_prefix(1); |
| 151 | return result; |
| 152 | } |
| 153 | ShapeIndexView ConsumeBack() const { |
| 154 | ShapeIndexView result = *this; |
| 155 | result.indices_.remove_suffix(1); |
no outgoing calls