add shit
This commit is contained in:
12
src/ParserHelper.hpp
Normal file
12
src/ParserHelper.hpp
Normal 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);
|
||||
|
||||
}
|
Reference in New Issue
Block a user