mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:47:45 +00:00
AK: Allow default-constructing Utf8View and Utf8CodepointIterator
This commit is contained in:
parent
d4bbc00901
commit
23dad305e9
1 changed files with 3 additions and 0 deletions
|
@ -37,6 +37,7 @@ class Utf8CodepointIterator {
|
||||||
friend class Utf8View;
|
friend class Utf8View;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
Utf8CodepointIterator() { }
|
||||||
~Utf8CodepointIterator() { }
|
~Utf8CodepointIterator() { }
|
||||||
|
|
||||||
bool operator==(const Utf8CodepointIterator&) const;
|
bool operator==(const Utf8CodepointIterator&) const;
|
||||||
|
@ -54,6 +55,7 @@ private:
|
||||||
|
|
||||||
class Utf8View {
|
class Utf8View {
|
||||||
public:
|
public:
|
||||||
|
Utf8View() { }
|
||||||
explicit Utf8View(const String&);
|
explicit Utf8View(const String&);
|
||||||
explicit Utf8View(const StringView&);
|
explicit Utf8View(const StringView&);
|
||||||
explicit Utf8View(const char*);
|
explicit Utf8View(const char*);
|
||||||
|
@ -88,4 +90,5 @@ private:
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
using AK::Utf8CodepointIterator;
|
||||||
using AK::Utf8View;
|
using AK::Utf8View;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue