LeviLamina
Loading...
Searching...
No Matches
ll::data::Version Struct Reference

Public Member Functions

constexpr Version (std::uint16_t mj, std::uint16_t mn, std::uint16_t pt, std::optional< PreRelease > prt={}, std::optional< std::string > bu={}) noexcept
 
constexpr Version (std::uint16_t mj, std::uint16_t mn, std::uint16_t pt, std::string_view prt, std::optional< std::string > bu={}) noexcept
 
constexpr Version (std::string_view str)
 
constexpr detail::from_chars_result from_chars (char const *first, char const *last) noexcept
 
constexpr detail::from_chars_result from_string_noexcept (std::string_view str) noexcept
 
constexpr Versionfrom_string (std::string_view str)
 
std::string to_string () const
 
constexpr std::strong_ordering operator<=> (Version const &other) const noexcept
 
constexpr bool operator== (Version const &other) const noexcept
 

Static Public Member Functions

static constexpr bool valid (std::string_view str) noexcept
 

Public Attributes

std::uint16_t major = 0
 
std::uint16_t minor = 1
 
std::uint16_t patch = 0
 
std::optional< PreReleasepreRelease
 
std::optional< std::string > build
 

The documentation for this struct was generated from the following file: