| 71 | } |
| 72 | |
| 73 | TSentinel end() const { |
| 74 | if constexpr (TrivialSentinel) { |
| 75 | return TIterator{std::numeric_limits<TSize>::max(), std::end(*Storage_.Ptr())}; |
| 76 | } else { |
| 77 | return TSentinel{std::end(*Storage_.Ptr())}; |
| 78 | } |
| 79 | } |
| 80 | |
| 81 | mutable TStorage Storage_; |
| 82 | }; |