* Obtains a ref that is a view over the last `count` elements of this TArrayRef. * * The behavior is undefined if count > size(). */
| 188 | * The behavior is undefined if count > size(). |
| 189 | */ |
| 190 | TArrayRef last(size_t count) const { |
| 191 | Y_ASSERT(count <= size()); |
| 192 | return TArrayRef(end() - count, end()); |
| 193 | } |
| 194 | |
| 195 | /** |
| 196 | * Obtains a ref that is a view over the `count` elements of this TArrayRef starting at `offset`. |
no test coverage detected