mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
AK: Define an alias for Utf16View's iterator type
Utf8View and Utf32View do so already. This allows using these views more readily in generic code.
This commit is contained in:
@@ -57,6 +57,8 @@ private:
|
|||||||
|
|
||||||
class Utf16View {
|
class Utf16View {
|
||||||
public:
|
public:
|
||||||
|
using Iterator = Utf16CodePointIterator;
|
||||||
|
|
||||||
static bool is_high_surrogate(u16);
|
static bool is_high_surrogate(u16);
|
||||||
static bool is_low_surrogate(u16);
|
static bool is_low_surrogate(u16);
|
||||||
static u32 decode_surrogate_pair(u16 high_surrogate, u16 low_surrogate);
|
static u32 decode_surrogate_pair(u16 high_surrogate, u16 low_surrogate);
|
||||||
|
|||||||
Reference in New Issue
Block a user