QRandomGenerator64class allows one to obtain 64-bit random values from a high-quality, seed-less Random Number Generator. 更多 …
New in version 5.10.
QRandomGenerator64is a simple adaptor class aroundQRandomGenerator, making thegenerate64()function the default foroperator()(), 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.另请参阅
QRandomGenerator64
(
other
)
¶
QRandomGenerator64(begin, end)
QRandomGenerator64(seedBuffer, len)
QRandomGenerator64([seedValue=1])
begin
–
quint32
seedValue
–
quint32
other
–
QRandomGenerator
len
–
long
long
seedBuffer
–
quint32
end
–
quint32