swap and hash

This commit is contained in:
Marius Bancila 2018-01-31 09:26:03 +02:00 committed by GitHub
parent 63ae42c104
commit a0274c8a15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -125,7 +125,7 @@ assert(id.variant() == uuid_variant::rfc);
### Swapping
Both member and non-member swap functions including a `std::swap<>` specialization that enable the swapping of `uuid` values.
Both member and non-member `swap()` functions are available to perform the swapping of `uuid` values.
```
uuid empty;
@ -418,7 +418,7 @@ public:
```
### Specialization
The template specializations of `std::hash` for the `uuid` class allow users to obtain hashes of UUIDs.
```
namespace std {
template <>