vcpkg/toolsrc/include/VersionT.h
2017-04-07 17:56:26 -07:00

30 lines
566 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;
};
}