* Obtains a ref that is a view over the first `count` elements of this TArrayRef. * * The behavior is undefined if count > size(). */
| 178 | * The behavior is undefined if count > size(). |
| 179 | */ |
| 180 | TArrayRef first(size_t count) const { |
| 181 | Y_ASSERT(count <= size()); |
| 182 | return TArrayRef(data(), count); |
| 183 | } |
| 184 | |
| 185 | /** |
| 186 | * Obtains a ref that is a view over the last `count` elements of this TArrayRef. |
no test coverage detected