public member function
<random>

std::binomial_distribution::t

result_type t() const;
Upper bound of range
Returns the parameter t associated with the binomial_distribution.

This parameter represents the number of independent Bernoulli-distributed experiments each value generated by operator() is said to simulate.

This parameter is set on construction as the first argument.

Parameters

none

Return value

The upper bound of the range of possible values generated by the distribution object.
result_type is a member type, defined as an alias of the first class template parameter (IntType).

Complexity

Constant.

See also