Time and integer parsing

This commit is contained in:
Dan Paulat 2024-02-20 23:26:02 -06:00
parent c8d8b24317
commit 2cd76d7da4
4 changed files with 62 additions and 0 deletions

View file

@ -1,5 +1,6 @@
#pragma once
#include <optional>
#include <string>
#include <vector>
@ -29,5 +30,8 @@ std::vector<std::string> ParseTokens(const std::string& s,
std::string ToString(const std::vector<std::string>& v);
template<typename T>
std::optional<T> TryParseUnsignedLong(const std::string& str);
} // namespace util
} // namespace scwx