aboutsummaryrefslogtreecommitdiff
path: root/include/cru/base/StringUtil.h
diff options
context:
space:
mode:
authorYuqian Yang <crupest@crupest.life>2025-11-04 22:17:27 +0800
committerYuqian Yang <crupest@crupest.life>2025-11-04 22:17:27 +0800
commitef6cff0f308d49326bbe0c3b557cb8ab6cca455b (patch)
tree34914a6e76093d892ff10f8400d04c285eeab2c8 /include/cru/base/StringUtil.h
parent8bea03e0811588e741050b598b8123865b333999 (diff)
downloadcru-ef6cff0f308d49326bbe0c3b557cb8ab6cca455b.tar.gz
cru-ef6cff0f308d49326bbe0c3b557cb8ab6cca455b.tar.bz2
cru-ef6cff0f308d49326bbe0c3b557cb8ab6cca455b.zip
Move base Exception.h to Base.h.
Diffstat (limited to 'include/cru/base/StringUtil.h')
-rw-r--r--include/cru/base/StringUtil.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/cru/base/StringUtil.h b/include/cru/base/StringUtil.h
index 159f34c3..5c1c4be7 100644
--- a/include/cru/base/StringUtil.h
+++ b/include/cru/base/StringUtil.h
@@ -18,6 +18,11 @@
#include <vector>
namespace cru::string {
+class CRU_BASE_API TextEncodeException : public Exception {
+ public:
+ using Exception::Exception;
+};
+
std::weak_ordering CRU_BASE_API CaseInsensitiveCompare(std::string_view left,
std::string_view right);
std::string CRU_BASE_API TrimBegin(std::string_view str);