Share via


uniform_int_distribution::param_type

Stores the parameters of the distribution.

struct param_type {
    typedef uniform_int_distribution<IntType> distribution_type;
    param_type(result_type a0 = 0,
        result_type b0 = std::numeric_limits<IntType>::max());
    result_type a() const;
    result_type b() const;
    bool operator==(const param_type& right) const;
    bool operator!=(const param_type& right) const;
    };

Remarks

This parameter package can be passed to operator() to generate the return value.

Requirements

Header: <random>

Namespace: std

See Also

Reference

<random>

uniform_int_distribution Class

Other Resources

<random> Members