Skip to content

Commit 97c0501

Browse files
committed
提交遗漏文件
1 parent cb0ea87 commit 97c0501

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

include/Util/StringUtil.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,10 @@ namespace StringUtil
1212

1313
std::string Replace(std::string_view source, std::string_view oldString, std::string_view newString);
1414

15+
// workaround for C++17
16+
bool StartWith(const std::string& source, const std::string& str);
17+
// workaround for C++17
18+
bool EndWith(const std::string& source, const std::string& str);
19+
1520
bool IsStringEqualIgnoreCase(std::string_view lhs, std::string_view rhs);
1621
}

0 commit comments

Comments
 (0)