omni::extras::versionsCmpLess
Defined in omni/extras/Version.h
-
template<class VersionT>
inline bool omni::extras::versionsCmpLess(const VersionT &lhs, const VersionT &rhs) Less-than comparator for two versions.
- Template Parameters
VersionT – The type of the version struct, typically omni::ext::Version or SemanticVersion.
- Parameters
lhs – The first version to compare
rhs – The second version to compare
- Returns
true
iflhs
should be ordered-beforerhs
;false
otherwise