Compare versions as strings
- by Dmitriy
Comparing version numbers as strings is not so easy...
"1.0.0.9" "1.0.0.10", but it's not correct.
Obvious way to do it properly is parse these strings, convert to numbers and compare as numbers.
Is it other way to do it more "elegant"? For example, boost::string_algo...