This commit is contained in:
yyc12345 committed 2024-04-26 15:37:28 +08:00
1 parent b6cffd8a97
commit c9152bffa8
13 files changed
+171 -71

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
#pragma once
#include <string>
#include <cinttypes>
namespace YYCC::ParserHelper {
bool Parse(const std::string& strl, int& ret, int base = 10);
int Parse(const std::string& strl, int base = 10);
bool ToString(int val, std::string& ret, int base = 10);
std::string ToString(int val, int base = 10);
}