@brief Populate a character set with characters present in this string. */
| 2595 | |
| 2596 | /** @brief Populate a character set with characters present in this string. */ |
| 2597 | byteset as_set() const noexcept { |
| 2598 | byteset set; |
| 2599 | for (auto c : *this) set.add(c); |
| 2600 | return set; |
| 2601 | } |
| 2602 | |
| 2603 | private: |
| 2604 | sz_constexpr_if_cpp14 string_slice &assign(string_view const &other) noexcept { |
no test coverage detected