mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-25 12:19:00 +08:00
30 lines
564 B
C++
30 lines
564 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
namespace vcpkg
|
|
{
|
|
struct VersionT
|
|
{
|
|
VersionT();
|
|
VersionT(const std::string& value);
|
|
|
|
std::string to_string() const;
|
|
|
|
std::string value;
|
|
};
|
|
|
|
bool operator==(const VersionT& left, const VersionT& right);
|
|
bool operator!=(const VersionT& left, const VersionT& right);
|
|
|
|
struct VersionDiff
|
|
{
|
|
VersionT left;
|
|
VersionT right;
|
|
|
|
VersionDiff();
|
|
VersionDiff(const VersionT& left, const VersionT& right);
|
|
|
|
std::string to_string() const;
|
|
};
|
|
}
|