| 73 | } |
| 74 | |
| 75 | text text::from_wide(const wchar_t* wide_string) noexcept |
| 76 | { |
| 77 | const wide_text wt{ wide_string }; |
| 78 | codeunit_sequence decoded; |
| 79 | wt.decode(decoded); |
| 80 | return text{ std::move(decoded) }; |
| 81 | } |
| 82 | |
| 83 | text::iterator::iterator(text& t, const u64 from, const u64 size) noexcept |
| 84 | : from{ from } |