Represents a 128-bit universally unique identifier (UUID).
|
static constexpr Result< Uuid > | FromSpan (span< const uint8_t > uuid_span) |
| Create a Uuid from a const uint8_t span.
|
|
static constexpr Result< Uuid > | FromSpan (ConstByteSpan uuid_span) |
| Create a Uuid from a const std::byte span.
|
|
template<size_t kSize, typename = std::enable_if_t<kSize == kSizeBytes>> |
static constexpr Uuid | FromSpan (const std::array< uint8_t, kSize > &uuid_array) |
| Creates a Uuid from a std::array of 16 const uint8_t.
|
|
template<size_t kSize, typename = std::enable_if_t<kSize == kSizeBytes>> |
static constexpr Uuid | FromSpan (const std::array< std::byte, kSize > &uuid_array) |
| Creates a Uuid from a std::array of 16 const bytes.
|
|
template<size_t kSize, typename = std::enable_if_t<kSize == kSizeBytes>> |
static constexpr Uuid | FromSpan (const uint8_t(&uuid_array)[kSize]) |
| Creates a Uuid from a C-style array of 16 const uint8_t.
|
|
template<size_t kSize, typename = std::enable_if_t<kSize == kSizeBytes>> |
static constexpr Uuid | FromSpan (const std::byte(&uuid_array)[kSize]) |
| Creates a Uuid from a C-style array of 16 const bytes.
|
|
static constexpr Result< Uuid > | FromString (std::string_view string) |
| Create a Uuid from a string.
|
|