mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-17 20:27:50 +08:00
29 lines
602 B
C++
29 lines
602 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
namespace vcpkg
|
|
{
|
|
struct version_t
|
|
{
|
|
version_t();
|
|
version_t(const std::string& value);
|
|
|
|
std::string value;
|
|
};
|
|
|
|
bool operator ==(const version_t& left, const version_t& right);
|
|
bool operator !=(const version_t& left, const version_t& right);
|
|
std::string to_printf_arg(const version_t& version);
|
|
|
|
struct version_diff_t
|
|
{
|
|
version_t left;
|
|
version_t right;
|
|
|
|
version_diff_t();
|
|
version_diff_t(const version_t& left, const version_t& right);
|
|
|
|
std::string toString() const;
|
|
};
|
|
}
|