Scroll to navigation

std::uniform_int_distribution< _IntType >::param_type(3cxx) std::uniform_int_distribution< _IntType >::param_type(3cxx)

NAME

std::uniform_int_distribution< _IntType >::param_type

SYNOPSIS

#include <random>

Public Types


typedef uniform_int_distribution< _IntType > distribution_type

Public Member Functions


param_type (_IntType __a, _IntType __b=__gnu_cxx::__int_traits< _IntType >::__max)
result_type a () const
result_type b () const

Friends


bool operator!= (const param_type &__p1, const param_type &__p2)
bool operator== (const param_type &__p1, const param_type &__p2)

Detailed Description

template<typename _IntType = int>

struct std::uniform_int_distribution< _IntType >::param_type"Parameter type.

Definition at line 86 of file random.

Member Typedef Documentation

template<typename _IntType = int> typedef uniform_int_distribution<_IntType> std::uniform_int_distribution< _IntType >::param_type::distribution_type

Definition at line 88 of file random.

Constructor & Destructor Documentation

template<typename _IntType = int> std::uniform_int_distribution< _IntType >::param_type::param_type () [inline]

Definition at line 90 of file random.

template<typename _IntType = int> std::uniform_int_distribution< _IntType >::param_type::param_type (_IntType __a, _IntType __b = __gnu_cxx::__int_traits<_IntType>::__max) [inline], [explicit]

Definition at line 93 of file random.

Member Function Documentation

template<typename _IntType = int> result_type std::uniform_int_distribution< _IntType >::param_type::a () const [inline]

Definition at line 101 of file random.

template<typename _IntType = int> result_type std::uniform_int_distribution< _IntType >::param_type::b () const [inline]

Definition at line 105 of file random.

Friends And Related Function Documentation

template<typename _IntType = int> bool operator!= (const param_type & __p1, const param_type & __p2) [friend]

Definition at line 113 of file random.

template<typename _IntType = int> bool operator== (const param_type & __p1, const param_type & __p2) [friend]

Definition at line 109 of file random.

Author

Generated automatically by Doxygen for libstdc++ from the source code.

Mon Aug 22 2022 libstdc++