Makeclass cleaned up

This commit is contained in:
2021-02-10 16:22:24 -05:00
parent e838b4ac97
commit 3883f86dee
13 changed files with 120 additions and 54 deletions

View File

@@ -18,6 +18,9 @@ using stringset = std::set<std::string>;
std::string tolower(std::string input);
std::string toupper(std::string input);
// Return true if the string can be parsed as an integer.
bool validinteger(const std::string &value);
// String to integer. Returns errval if the number is not parseable.
int64_t strtoint(const std::string &value, int64_t errval);