vcpkg/toolsrc/include/VersionT.h
2017-04-04 16:44:44 -07:00

29 lines
582 B
C++

#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);
struct VersionDiff
{
VersionT left;
VersionT right;
VersionDiff();
VersionDiff(const VersionT& left, const VersionT& right);
std::string to_string() const;
};
}