span<byte, 16>

This commit is contained in:
Marius Bancila 2018-06-27 16:22:00 +03:00
parent 50e9562617
commit 722bb6cc50

View File

@ -21,12 +21,12 @@ Revised with feedback from the LWG and the community.
* Removed `state_size`.
* Rename member function `nil()` to `is_nil()`.
* The default constructor is defaulted.
* Added a conversion construct from `std::span<uint_8, 16>`.
* Added a conversion construct from `std::span<std::byte, 16>`.
* Added the free function `as_bytes()` to convert the `uuid` into a view of its underlying bytes.
* Constructing a `uuid` from a range with a size other than 16 is undefined behaviour.
* Removed mutable iterators (but preserved the constant iterators).
* Removed typedefs and others container-like parts.
* Defined the correlation between the interal UUID bytes and the string representation.
* Defined the correlation between the internal UUID bytes and the string representation.
* Added UUID layout and byte order specification from the RFC 4122 document.
## II. Motivation