|
constexpr | version (uint16_t mj, uint16_t mn, uint16_t pt, prerelease prt=prerelease::none, std::optional< uint16_t > prn=std::nullopt) noexcept |
|
constexpr | version (uint16_t mj, uint16_t mn, uint16_t pt, prerelease prt, uint16_t prn) noexcept |
|
constexpr | version (std::string_view str) |
|
constexpr | version (const version &)=default |
|
constexpr | version (version &&)=default |
|
version & | operator= (const version &)=default |
|
version & | operator= (version &&)=default |
|
constexpr from_chars_result | from_chars (const char *first, const char *last) noexcept |
|
constexpr to_chars_result | to_chars (char *first, char *last) const noexcept |
|
constexpr bool | from_string_noexcept (std::string_view str) noexcept |
|
constexpr version & | from_string (std::string_view str) |
|
std::string | to_string_noexcept () const noexcept |
|
std::string | to_string () const |
|
constexpr uint8_t | string_length () const noexcept |
|
constexpr int | compare (const version &other) const noexcept |
|
Definition at line 222 of file version.hpp.
◆ version() [1/3]
◆ version() [2/3]
◆ version() [3/3]
constexpr plg::version::version |
( |
std::string_view |
str | ) |
|
|
inlineexplicitconstexpr |
◆ compare()
◆ from_chars()
◆ from_string()
◆ from_string_noexcept()
constexpr bool plg::version::from_string_noexcept |
( |
std::string_view |
str | ) |
|
|
inlineconstexprnoexcept |
◆ string_length()
◆ to_chars()
◆ to_string()
std::string plg::version::to_string |
( |
| ) |
const |
|
inline |
◆ to_string_noexcept()
std::string plg::version::to_string_noexcept |
( |
| ) |
const |
|
inlinenoexcept |
◆ major
◆ minor
◆ patch
◆ prerelease_number
std::optional<uint16_t> plg::version::prerelease_number = std::nullopt |
◆ prerelease_type
prerelease plg::version::prerelease_type = prerelease::none |
The documentation for this struct was generated from the following file: