std::uniform_real_distribution::uniform_real_distribution

explicit uniform_real_distribution( RealType a = 0.0, RealType b = 1.0 ); (1) (since C++11) explicit uniform_real_distribution( const param_type& params ); (2) (since C++11) Constructs new distribution object. The first version uses a and b as the distribution parameters, the second version uses params as the distribution parameters. Parameters a - the a distribution parameter (minimum value) b - the b distribution parameter (maximum value) params - the dis

std::random_device::max

static constexpr result_type max(); (since C++11) Returns the maximum value potentially generated by the random-number engine. Parameters (none). Return value The maximum potentially generated value. Complexity Constant. See also min [static] gets the smallest possible value in the output range (public static member function)

std::unordered_map::load_factor

float load_factor() const; (since C++11) Returns the average number of elements per bucket. Parameters (none). Return value Average number of elements per bucket. Complexity Constant. See also max_load_factor manages maximum average number of elements per bucket (public member function)

std::equal_to<void>

Defined in header <functional> template<> class equal_to<void>; (since C++14) std::equal_to<> is a specialization of std::equal_to with parameter and return type deduced. Member types Member type Definition is_transparent /* unspecified */ Member functions operator() tests if the two arguments compare equal (public member function) std::equal_to<>::operator() template< class T, class U> constexpr auto operator()( T&

std::extreme_value_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.

random

This header is part of the pseudo-random number generation library. Classes Random number engines linear_congruential_engine (C++11) implements linear congruential algorithm (class template) mersenne_twister_engine (C++11) implements Mersenne twister algorithm (class template) subtract_with_carry_engine (C++11) implements subtract with carry (a lagged Fibonacci) algorithm (class template) Random number engine adaptors discard_block_engine (C++11) dis

std::ctype&lt;char&gt;::ctype

Defined in header <locale> explicit ctype( const mask* tbl = 0, bool del = false, std::size_t refs = 0); Creates a std::ctype<char> facet and forwards the starting reference count refs to the base class constructor, locale::facet::facet(). If tbl is null, classic_table() is used by all classification member functions. Otherwise, tbl must be a pointer to the first element of an array of masks, at least std::ctype<char>::table_size in size, and that array is used

std::is_floating_point

Defined in header <type_traits> template< class T > struct is_floating_point; (since C++11) Checks whether T is a floating-point type. Provides the member constant value which is equal to true, if T is the type float, double, long double, including any cv-qualified variants. Otherwise, value is equal to false. Template parameters T - a type to check Helper variable template template< class T > constexpr bool is_floating_point_v = is_floating_poi

iomanip

This header is part of the Input/output manipulators library. Definitions resetiosflags clears the specified ios_base flags (function) setiosflags sets the specified ios_base flags (function) setbase changes the base used for integer I/O (function) setfill changes the fill character (function template) setprecision changes floating-point precision (function) setw changes the width of the next input/output field (function) get_money (C++11) parses a monetar

Extending the namespace std

Adding declarations to std It is undefined behavior to add declarations or definitions to namespace std or to any namespace nested within std, with a few exceptions noted below. #include <utility> namespace std { // a function definition added to namespace std: undefined behavior pair<int, int> operator+(pair<int, int> a, pair<int, int> b) { return {a.first+b.first, a.second+b.second}; } } It is allowed to add template specializations for any stand