std::discrete_distribution<IntType>::min

From cppreference.com

 
 
 
Pseudo-random number generation
Uniform random bit generators
Engines and engine adaptors
Non-deterministic generator
Distributions
Uniform distributions
Bernoulli distributions
Poisson distributions
Normal distributions
Sampling distributions
Seed Sequences
(C++11)
C library
 
std::discrete_distribution
Member functions
Generation
Characteristics
discrete_distribution::min
(C++11)
Non-member functions
(C++11)(C++11)(until C++20)
(C++11)(C++11)
 
result_type min() const;
(since C++11)

Returns the minimum value potentially generated by the distribution.

Parameters

(none)

Return value

The minimum value potentially generated by the distribution.

Complexity

Constant.

See also

(C++11)
returns the maximum potentially generated value
(public member function)