Update P0959.md
This commit is contained in:
parent
e9dd04b7a4
commit
3c5adc5cff
4
P0959.md
4
P0959.md
@ -255,9 +255,9 @@ assert(to_wstring(id) == L"47183823-2574-4bfd-b411-99ed177d3e43");
|
|||||||
|
|
||||||
The order of the internal UUID bytes reflects directly into the string bytes order. That is, for a UUID with the internal bytes in the form `aa,bb,cc,dd,ee,ff,gg,hh,ii,jj,kk,ll,mm,nn,oo,pp` the resulted string has the form `"aabbccdd-eeff-gghh-iijj-kkllmmnnoopp"`.
|
The order of the internal UUID bytes reflects directly into the string bytes order. That is, for a UUID with the internal bytes in the form `aa,bb,cc,dd,ee,ff,gg,hh,ii,jj,kk,ll,mm,nn,oo,pp` the resulted string has the form `"aabbccdd-eeff-gghh-iijj-kkllmmnnoopp"`.
|
||||||
|
|
||||||
### `operator==` and `operator!=`
|
### `operator<=>`
|
||||||
|
|
||||||
Non-member `operators ==` and `operator !=` are provided in order to test the equality/inequality of two `uuid` values.
|
Member `operator<=>` is provided in order to compare `uuid` values. The return value is `std::strong_ordering`.
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
uuid empty;
|
uuid empty;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user