| 293 | using TBase::front; |
| 294 | |
| 295 | inline reference front() noexcept Y_LIFETIME_BOUND { |
| 296 | Y_ASSERT(!this->empty()); |
| 297 | |
| 298 | #ifdef TSTRING_IS_STD_STRING |
| 299 | return Storage_.front(); |
| 300 | #else |
| 301 | return reference(*this, 0); |
| 302 | #endif |
| 303 | } |
| 304 | |
| 305 | inline size_t length() const noexcept { |
| 306 | return ConstRef().length(); |