random_device::operator()
Returns a random value.
result_type operator()();
Remarks
Returns values uniformly distributed in the closed interval [min, max] as determined by member functions min() and max(). Throws a value of an implementation-defined type derived from exception if a random number could not be obtained.
For example code, see random_device Class.
Requirements
Header: <random>
Namespace: std