3#include <Common/primitive_type.h>
42 m_major(major), m_minor(minor), m_patch(patch)
47 return m_major == 0 && m_minor == 0 && m_patch == 0;
52 if(
auto cmp = m_major <=> other.m_major; cmp != 0)
57 if(
auto cmp = m_minor <=> other.m_minor; cmp != 0)
62 return m_patch <=> other.m_patch;
Convenient software version handling routines. See https://semver.org/ for a detailed explaination of...
Definition SemanticVersion.h:16
bool isInitial() const
Definition SemanticVersion.h:45
std::strong_ordering operator<=>(const SemanticVersion &other) const
Definition SemanticVersion.h:50
std::string toString() const
Definition SemanticVersion.cpp:36
bool operator==(const SemanticVersion &other) const =default
SemanticVersion()
Definition SemanticVersion.h:37
The root for all renderer implementations.
Definition EEngineProject.h:6