| 2686 | } |
| 2687 | |
| 2688 | void init(std::size_t length, char_type value) noexcept(false) { |
| 2689 | sz_ptr_t start; |
| 2690 | raise(_with_alloc([&](sz_alloc_type &alloc) { |
| 2691 | return (start = sz_string_init_length(&string_, length, &alloc)) ? sz_success_k : sz_bad_alloc_k; |
| 2692 | })); |
| 2693 | sz_fill(start, length, sz_bitcast_(sz_u8_t, value)); |
| 2694 | } |
| 2695 | |
| 2696 | void init(string_view other) noexcept(false) { |
| 2697 | sz_ptr_t start; |
nothing calls this directly
no test coverage detected