* @brief Find the first occurrence of a substring, skipping the first `skip` characters. * @return The offset of the first character of the match, or `npos` if not found. * @warning The behavior is @b undefined if `skip > size()`. */
| 2134 | * @warning The behavior is @b undefined if `skip > size()`. |
| 2135 | */ |
| 2136 | size_type find(string_view other, size_type skip = 0) const noexcept { |
| 2137 | auto ptr = sz_find(start_ + skip, length_ - skip, other.data(), other.size()); |
| 2138 | return ptr ? ptr - start_ : npos; |
| 2139 | } |
| 2140 | |
| 2141 | /** |
| 2142 | * @brief Find the first occurrence of a character, skipping the first `skip` characters. |
nothing calls this directly
no test coverage detected