diff options
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; |