std::uniform_int_distribution::param

param_type param() const; (1) (since C++11) void param( const param_type& params ); (2) (since C++11) Manages the associated distribution parameter set. 1) Returns the associated parameter set. 2) Sets the associated parameter set to params. Parameters params - new contents of the associated parameter set Return value 1) The associated parameter set. 2) (none). Complexity Constant.

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::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::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::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::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::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::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::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::undeclare_no_pointers

Defined in header <memory> void undeclare_no_pointers( char *p, std::size_t n ); (since C++11) Unregisters a range earlier registered with std::declare_no_pointers(). Parameters p - pointer to the beginning of the range previosly registered with std::declare_no_pointers n - the number of bytes in the range, same value as previously used with std::declare_no_pointers Return value (none). Exceptions None. Example See also declare_no_pointers (C