| 4620 | */ |
| 4621 | template <typename char_type_> |
| 4622 | void lookup( // |
| 4623 | basic_string_slice<char_type_ const> source, basic_look_up_table<char_type_> const &table, |
| 4624 | char_type_ *target) noexcept { |
| 4625 | static_assert(sizeof(char_type_) == 1, "The character type must be 1 byte long."); |
| 4626 | sz_lookup((sz_ptr_t)target, (sz_size_t)source.size(), (sz_cptr_t)source.data(), (sz_cptr_t)table.raw()); |
| 4627 | } |
| 4628 | |
| 4629 | /** |
| 4630 | * @brief Replaces @b (in-place) all characters in the string using the provided lookup table. |
no test coverage detected
searching dependent graphs…