C++ and/or boost analog to .NET System.Version

Hello, I am curious is there an analog to System.Version in .NET? http://msdn.microsoft.com/en-us/library/system.version.aspx Basically a cloneable, comparable, equatable version composed of major, minor, build, revision. Or patch, build, or however you'd like to decompose the fields. I don't think it'd be hard to cook one up using say tuple<int, int, int, int> for instance, but if one already exists I'd like to save the effort. Thanks! Regards, Michael Powell

Hello, I created something similar for my own needs: https://github.com/jeremy-coulon/versionning Hope that helps. Regards, Jérémy Coulon

On Sat, Apr 13, 2013 at 10:40 PM, Michael Powell <mwpowellhtx@gmail.com>wrote:
I am curious is there an analog to System.Version in .NET?
http://msdn.microsoft.com/en-us/library/system.version.aspx
Basically a cloneable, comparable, equatable version composed of major, minor, build, revision. Or patch, build, or however you'd like to decompose the fields.
I don't think there is one in boost distribution but I find the concept intersting and indeed not to hard to implement. Joel Lamotte
participants (3)
-
Jérémy Coulon
-
Klaim - Joël Lamotte
-
Michael Powell