| 9557 | namespace ada::idna { |
| 9558 | |
| 9559 | bool constexpr is_ascii(std::u32string_view view) { |
| 9560 | for (uint32_t c : view) { |
| 9561 | if (c >= 0x80) { |
| 9562 | return false; |
| 9563 | } |
| 9564 | } |
| 9565 | return true; |
| 9566 | } |
| 9567 | |
| 9568 | bool constexpr is_ascii(std::string_view view) { |
| 9569 | for (uint8_t c : view) { |
no outgoing calls
no test coverage detected