std::mersenne_twister_engine::min

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

std::mersenne_twister_engine::mersenne_twister_engine

explicit mersenne_twister_engine( result_type value = default_seed ); (1) (since C++11) template< class Sseq > explicit mersenne_twister_engine( Sseq& s ); (2) (since C++11) mersenne_twister_engine( const mersenne_twister_engine& ); (3) (since C++11) (implicitly declared) Constructs the pseudo-random number engine. The overload (2) only participate in overload resolution if Sseq qualifies as a SeedSequence. In particular, it is excluded from the set of candida

std::mersenne_twister_engine::max

static constexpr result_type max(); (since C++11) Returns the maximum value potentially generated by the random-number engine. This value is equal to 2w - 1, where w is word_size. 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::mersenne_twister_engine::discard

void discard( unsigned long long z ); (since C++11) Advances the internal state by z times. Equivalent to calling operator() z times and discarding the result. Parameters z - integer value specifying the number of times to advance the state by Return value (none). Complexity See also operator() advances the engine's state and returns the generated value (public member function)

std::mersenne_twister_engine

Defined in header <random> template< class UIntType, size_t w, size_t n, size_t m, size_t r, UIntType a, size_t u, UIntType d, size_t s, UIntType b, size_t t, UIntType c, size_t l, UIntType f > class mersenne_twister_engine; (since C++11) mersenne_twister_engine is a random number engine based on Mersenne Twister algorithm. It produces high quality unsigned integer random numbers. The following typedefs define the random number engine with two com

std::merge

Defined in header <algorithm> template< class InputIt1, class InputIt2, class OutputIt > OutputIt merge( InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, OutputIt d_first ); (1) template< class InputIt1, class InputIt2, class OutputIt, class Compare> OutputIt merge( InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, OutputIt d_first, Compare comp ); (2) Merges t

std::mem_fun_t

template< class S, class T > class mem_fun_t : public unary_function<T*,S> { public: explicit mem_fun_t(S (T::*p)()); S operator()(T* p) const; }; (1) (until C++17)(deprecated since C++11) template< class S, class T > class const_mem_fun_t : public unary_function<const T*,S> { public: explicit const_mem_fun_t(S (T::*p)() const); S operator()(const T* p) const; }; (2) (until C++17)(deprecated since C++11) template< class S, class T, class

std::mem_fun_ref_t

template< class S, class T > class mem_fun_ref_t : public unary_function<T,S> { public: explicit mem_fun_ref_t(S (T::*p)()); S operator()(T& p) const; }; (1) (until C++17)(deprecated since C++11) template< class S, class T > class const_mem_fun_ref_t : public unary_function<T,S> { public: explicit const_mem_fun_ref_t(S (T::*p)() const); S operator()(const T& p) const; }; (2) (until C++17)(deprecated since C++11) template< class S

std::mem_fun_ref

Defined in header <functional> template< class Res, class T > std::mem_fun_ref_t<Res,T> mem_fun_ref( Res (T::*f)() ); (1) (until C++17)(deprecated since C++11) template< class Res, class T > std::const_mem_fun_ref_t<Res,T> mem_fun_ref( Res (T::*f)() ); (1) (until C++17)(deprecated since C++11) template< class Res, class T, class Arg > std::mem_fun1_ref_t<Res,T,Arg> mem_fun_ref( Res (T::*f)(Arg) ); (2) (until C++17)(deprecated

std::mem_fun

Defined in header <functional> template< class Res, class T > std::mem_fun_t<Res,T> mem_fun( Res (T::*f)() ); (1) (until C++17)(deprecated since C++11) template< class Res, class T > std::const_mem_fun_t<Res,T> mem_fun( Res (T::*f)() ); (1) (until C++17)(deprecated since C++11) template< class Res, class T, class Arg > std::mem_fun1_t<Res,T,Arg> mem_fun( Res (T::*f)(Arg) ); (2) (until C++17)(deprecated since C++11) template&