Function liberate::version

Function Documentation

std::pair<std::string, std::string> liberate::version()

XXX Note to developers (and users): consider the following definitions to be frozen. That is, you may add new definitions, or modify their values, but may not modify the definitions themselves (i.e. types, parameters).

That way users of this library can always rely, especially, on the version() function’s prototype, and perform compatibility checks at runtime. Return the library version as a pair of two components.

Depending on whether this build is a release build or not, the component are either the branch name and subversion revision (development builds), or the major and minor version numbers (release builds).