uniform_int_distribution::param_type
분포의 매개 변수를 저장합니다.
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;
};
설명
이 매개 변수를 패키지에 전달할 수 있습니다 operator () 의 반환 값을 생성 합니다.
요구 사항
헤더: <random>
네임 스페이스: std