Program Listing for File Version.hpp¶
↰ Return to documentation for file (include/jet/Version.hpp
)
#pragma once
#include <string>
namespace Jet {
constexpr size_t MAJOR_VERSION = 0;
constexpr size_t MINOR_VERSION = 2;
constexpr size_t PATCH_VERSION = 3;
std::string Version()
{
const auto major = std::to_string(MAJOR_VERSION);
const auto minor = std::to_string(MINOR_VERSION);
const auto patch = std::to_string(PATCH_VERSION);
return major + "." + minor + "." + patch + "-dev";
}
} // namespace Jet
api/program_listing_file_include_jet_Version.hpp
Download Python script
Download Notebook
View on GitHub