vcpkg/toolsrc/include/VersionT.h

29 lines
582 B
C
Raw Normal View History

2017-04-04 07:13:46 +08:00
#pragma once
#include <string>
namespace vcpkg
{
struct VersionT
{
VersionT();
VersionT(const std::string& value);
std::string value;
};
bool operator ==(const VersionT& left, const VersionT& right);
bool operator !=(const VersionT& left, const VersionT& right);
std::string to_printf_arg(const VersionT& version);
2017-04-04 07:18:21 +08:00
struct VersionDiff
2017-04-04 07:13:46 +08:00
{
VersionT left;
VersionT right;
2017-04-04 07:18:21 +08:00
VersionDiff();
VersionDiff(const VersionT& left, const VersionT& right);
2017-04-04 07:13:46 +08:00
std::string to_string() const;
2017-04-04 07:13:46 +08:00
};
}