QRandomGenerator64 Class
The QRandomGenerator64 class allows one to obtain 64-bit random values from a high-quality, seed-less Random Number Generator. More...
Header: | #include <QRandomGenerator64> |
qmake: | QT += core |
Since: | Qt 5.10 |
Inherits: | QRandomGenerator |
Public Types
typedef | result_type |
Public Functions
quint64 | generate() |
QRandomGenerator64::result_type | operator()() |
- 15 public functions inherited from QRandomGenerator
Additional Inherited Members
- 1 static public member inherited from QRandomGenerator
Detailed Description
The QRandomGenerator64 class allows one to obtain 64-bit random values from a high-quality, seed-less Random Number Generator.
QRandomGenerator64 is a simple adaptor class around QRandomGenerator, making the QRandomGenerator::generate64() function the default for operator()(), instead of the function that returns 32-bit quantities. This class is intended to be used in conjunction with Standard Library algorithms that need 64-bit quantities instead of 32-bit ones.
In all other aspects, the class is the same. Please refer to QRandomGenerator's documentation for more information.
See also QRandomGenerator.
Member Type Documentation
typedef QRandomGenerator64::result_type
A typedef to the type that operator() returns. That is, quint64.
See also operator().