std::uniform_int_distribution::min

result_type min() const; (since C++11) Returns the minimum value potentially generated by the distribution. Parameters (none). Return value The minimum value potentially generated by the distribution. Complexity Constant. See also max returns the maximum potentially generated value (public member function)

std::uniform_int_distribution::max

result_type max() const; (since C++11) Returns the maximum value potentially generated by the distribution. Parameters (none). Return value The maximum value potentially generated by the distribution. Complexity Constant. See also min returns the minimum potentially generated value (public member function)

std::uniform_int_distribution::a

result_type a() const; (1) (since C++11) result_type b() const; (2) (since C++11) Returns the parameters the distribution has been constructed with. 1) Returns the a distribution parameter. It defines the minimum possibly generated value. The default value is ​0​. 2) Returns the b distribution parameter. It defines the maximum possibly generated value. The default value is std::numeric_limits<IntType>::max() Parameters (none). Return value 1) The a distribution par

std::uniform_int_distribution

Defined in header <random> template< class IntType = int > class uniform_int_distribution; (since C++11) Produces random integer values i, uniformly distributed on the closed interval [a, b], that is, distributed according to the discrete probability function P(i|a,b) = 1b − a + 1 . std::uniform_int_distribution satisfies all requirements of RandomNumberDistribution. Template parameters IntType - The result type generated by the generator. The effect is u

std::ungetwc

Defined in header <cwchar> wint_t ungetwc( wint_t ch, std::FILE* stream ); Puts the wide character ch back to the given file stream. Only one wide character pushback is guaranteed. Parameters ch - wide character to be put back stream - file stream to put the wide character back to Return value On success ch is returned. On failure WEOF is returned and the given stream remains unchanged. See also ungetc puts a character back into a file stream (fun

std::ungetc

Defined in header <cstdio> int ungetc( int ch, std::FILE *stream ); Puts the character ch back to the given file stream. Parameters ch - character to be put back stream - file stream to put the character back to Return value On success ch is returned. On failure EOF is returned and the given stream remains unchanged. See also fgetcgetc gets a character from a file stream (function) C documentation for ungetc

std::unexpected_handler

Defined in header <exception> typedef void (*unexpected_handler)(); (deprecated since C++11) std::unexpected_handler is the function pointer type (pointer to function that takes no arguments and returns void), which is installed and queried by the functions std::set_unexpected and std::get_unexpected and called by std::unexpected. The C++ implementation provides a default std::unexpected_handler function, which calls std::terminate(). If the null pointer value is installed

std::unexpected

Defined in header <exception> void unexpected(); (until C++11) [[noreturn]] void unexpected(); (since C++11) (deprecated) std::unexpected() is called by the C++ runtime when a dynamic exception specification is violated: an exception is thrown from a function whose exception specification forbids exceptions of this type. std::unexpected() may also be called directly from the program. In either case, std::unexpected calls the currently installed std::unexpected_handler

std::underlying_type

Defined in header <type_traits> template< class T > struct underlying_type; (since C++11) If T is a complete (since C++17) enumeration type, provides a member typedef type that names the underlying type of T. Otherwise, the behavior is undefined. Member types Name Definition type the underlying type of T Helper types template< class T > using underlying_type_t = typename underlying_type<T>::type; (since C++14) Notes Each enumerat

std::underflow_error

Defined in header <stdexcept> class underflow_error; Defines a type of object to be thrown as exception. It may be used to report arithmetic underflow errors (that is, situations where the result of a computation is a subnormal floating-point value). The standard library components do not throw this exception (mathematical functions report underflow errors as specified in math_errhandling). Third-party libraries, however, use this. For example, boost.math throws std::underf