Compares the current xtd::version object to a specified object and returns an indication of their relative values.
version | An object to compare. |
Return value | Meaning |
---|---|
Less than zero | The current xtd::version object is a version before version. |
Zero | The current xtd::version object is the same version as version. |
Greater than zero | The current xtd::version object is a version subsequent to version. |
Implements xtd::icomparable< version >.