note about std::random_device
This commit is contained in:
parent
50482c3c07
commit
9857cd372a
@ -257,6 +257,10 @@ The following is a list of examples for using the library:
|
||||
assert(h1(str) == h2(id));
|
||||
```
|
||||
|
||||
If you generate uuids using the `basic_uuid_random_generator` and [std::random_device](https://en.cppreference.com/w/cpp/numeric/random/random_device) to seed a generator, keep in mind that this might not be non-deterministic and actually generate the same sequence of numbers:
|
||||
|
||||
> std::random_device may be implemented in terms of an implementation-defined pseudo-random number engine if a non-deterministic source (e.g. a hardware device) is not available to the implementation. In this case each std::random_device object may generate the same number sequence.
|
||||
|
||||
## Support
|
||||
The library is supported on all major operating systems: Windows, Linux and Mac OS.
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user