mirror of
https://onedev.site.tesses.net/tesses-framework
synced 2026-03-26 03:10:21 +00:00
Revamp uuid code
This commit is contained in:
@@ -27,6 +27,11 @@ namespace Tesses::Framework {
|
||||
|
||||
static bool TryParse(std::string text, Uuid& uuid);
|
||||
|
||||
std::string ToString(UuidStringifyConfig cfg = UuidStringifyConfig::UppercaseCurly);
|
||||
std::string ToString(UuidStringifyConfig cfg = UuidStringifyConfig::UppercaseCurly) const;
|
||||
|
||||
bool IsEmpty() const;
|
||||
};
|
||||
|
||||
bool operator==(const Uuid& left, const Uuid& right);
|
||||
bool operator!=(const Uuid& left, const Uuid& right);
|
||||
}
|
||||
Reference in New Issue
Block a user