AK: Allow default-constructing Utf8View and Utf8CodepointIterator
This commit is contained in:
parent
d4bbc00901
commit
23dad305e9
Notes:
sideshowbarker
2024-07-19 05:49:54 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/23dad305e94
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue