mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 11:57:34 +00:00
AK: Reduce header dependency graph of String.h
String.h no longer pulls in StringView.h. We do this by moving a bunch of String functions out-of-line.
This commit is contained in:
parent
1dd71bd68f
commit
7d862dd5fc
39 changed files with 122 additions and 77 deletions
|
@ -44,7 +44,7 @@ public:
|
|||
const char* characters() const { return m_impl ? m_impl->characters() : nullptr; }
|
||||
size_t length() const { return m_impl ? m_impl->length() : 0; }
|
||||
|
||||
StringView view() const { return { characters(), length() }; }
|
||||
StringView view() const;
|
||||
|
||||
FlyString to_lowercase() const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue