diff options
author | 2022-08-02 08:21:53 -0400 | |
---|---|---|
committer | 2022-08-02 08:21:59 -0400 | |
commit | 9d0076ab91bfc3fd2514b9f0d612b4049b5bbaf7 (patch) | |
tree | a09afdd6439afe481d985d721754a0be9cbf9fe8 /src/lib/util/corestr.h | |
parent | 786016ae25d7918bd4c3ccaa6340f2f84397d288 (diff) |
Change debugger command handler parameter vector element type from std::string to std::string_view
Diffstat (limited to 'src/lib/util/corestr.h')
-rw-r--r-- | src/lib/util/corestr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/util/corestr.h b/src/lib/util/corestr.h index d5b79ddb5fa..b000d76731c 100644 --- a/src/lib/util/corestr.h +++ b/src/lib/util/corestr.h @@ -77,6 +77,9 @@ int strreplace(std::string &str, const std::string& search, const std::string& r namespace util { +bool strequpper(std::string_view str, std::string_view ucstr); +bool streqlower(std::string_view str, std::string_view lcstr); + // based on Jaro-Winkler distance - returns value from 0.0 (totally dissimilar) to 1.0 (identical) double edit_distance(std::u32string_view lhs, std::u32string_view rhs); |