diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2024-09-28 00:23:22 -0500 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2024-09-28 00:23:22 -0500 |
commit | 07d30629d78474ed810cad73ead71db96079aff0 (patch) | |
tree | 5f43fd8f6a818a590818e0c474f03a1f05076dba /include/fud_string.hpp | |
parent | 63711877057f1f89b4d1774e24fe20907a3af656 (diff) |
Add directory interface.
Diffstat (limited to 'include/fud_string.hpp')
-rw-r--r-- | include/fud_string.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/fud_string.hpp b/include/fud_string.hpp index 97b7036..9e423ef 100644 --- a/include/fud_string.hpp +++ b/include/fud_string.hpp @@ -113,9 +113,13 @@ class String { std::optional<utf8> pop(); - [[nodiscard]] FudStatus catenate(StringView source); + [[nodiscard]] FudStatus append(StringView source); - [[nodiscard]] String append(const String& rhs) const; + [[nodiscard]] String catenate(const String& rhs) const; + + [[nodiscard]] String catenate(const char* rhs) const; + + [[nodiscard]] bool compare(const String& rhs) const; const utf8* begin() const; |