https://sourcey.com/articles/comparing-version-strings-in-cpp
There is only one place to say, so I'm posting it here.
This code is completely shit. It seems to only give confusion to beginners.
For example, it doesn't even compare 2.0 and 1.2 versions properly.