* @brief Removes the first `n` characters from the view. * @warning The behavior is @b undefined if `n > size()`. */
| 3008 | * @warning The behavior is @b undefined if `n > size()`. |
| 3009 | */ |
| 3010 | void remove_prefix(size_type n) noexcept { |
| 3011 | assert(n <= size()); |
| 3012 | sz_string_erase(&string_, 0, n); |
| 3013 | } |
| 3014 | |
| 3015 | /** |
| 3016 | * @brief Removes the last `n` characters from the view. |