From 3c5adc5cffc2c54cfec2a7381553d62b50a36766 Mon Sep 17 00:00:00 2001 From: Marius Bancila Date: Fri, 2 Nov 2018 23:07:37 +0200 Subject: [PATCH] Update P0959.md --- P0959.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/P0959.md b/P0959.md index 2638c25..434c0ab 100644 --- a/P0959.md +++ b/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"`. -### `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 uuid empty;