version::is-older
bool version::is-older (
string v1,
string v2
)
Description
Compares two version numbers, and returns true if v1 is older than v2.
For example, "0.1.0.0" is older than "1.2.3.4", so version::is-older("0.1.0.1", "1.2.3.4") will return true.