std::uniform_int_distribution_param_type

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.

Author

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

Info

Wed Sep 7 2022 libstdc++