1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 22:37:35 +00:00

AK: Add FlyString::operator<=>(FlyString const&)

Same as String already has.
This commit is contained in:
Andreas Kling 2023-09-05 20:05:54 +02:00 committed by Tim Flynn
parent 1e820385d9
commit e4d14e1afc
2 changed files with 7 additions and 0 deletions

View file

@ -50,6 +50,8 @@ public:
[[nodiscard]] bool operator==(StringView) const;
[[nodiscard]] bool operator==(char const*) const;
[[nodiscard]] int operator<=>(FlyString const& other) const;
static void did_destroy_fly_string_data(Badge<Detail::StringData>, StringView);
[[nodiscard]] uintptr_t data(Badge<String>) const;