mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-02 22:24:26 +00:00
AK: Allow default-constructing Utf8View and Utf8CodepointIterator
This commit is contained in:
parent
d4bbc00901
commit
23dad305e9
|
@ -37,6 +37,7 @@ class Utf8CodepointIterator {
|
|||
friend class Utf8View;
|
||||
|
||||
public:
|
||||
Utf8CodepointIterator() { }
|
||||
~Utf8CodepointIterator() { }
|
||||
|
||||
bool operator==(const Utf8CodepointIterator&) const;
|
||||
|
@ -54,6 +55,7 @@ private:
|
|||
|
||||
class Utf8View {
|
||||
public:
|
||||
Utf8View() { }
|
||||
explicit Utf8View(const String&);
|
||||
explicit Utf8View(const StringView&);
|
||||
explicit Utf8View(const char*);
|
||||
|
@ -88,4 +90,5 @@ private:
|
|||
|
||||
}
|
||||
|
||||
using AK::Utf8CodepointIterator;
|
||||
using AK::Utf8View;
|
||||
|
|
Loading…
Reference in a new issue