From 07d30629d78474ed810cad73ead71db96079aff0 Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Sat, 28 Sep 2024 00:23:22 -0500 Subject: Add directory interface. --- include/fud_string.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include/fud_string.hpp') 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 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; -- cgit v1.2.3