Ejemplo n.º 1
0
const std::string& GetFull()
{
	static const std::string full = Get() + "." + GetPatchSet()
			+ (GetAdditional().empty() ? "" : (" (" + GetAdditional() + ")"));

	return full;
}
Ejemplo n.º 2
0
const std::string& Get()
{
	static const std::string base = IsRelease()
			? GetMajor()
			: (GetMajor() + "." + GetPatchSet() + ".1");

	return base;
}