std::linear_congruential_engine

Defined in header <random> template< class UIntType, UIntType a, UIntType c, UIntType m > class linear_congruential_engine; (since C++11) linear_congruential_engine is a random number engine based on Linear congruential generator (LCG). A LCG has a state that consists of single integer. The transition algorithm of the LCG function is xi+1 ← (axi+c) mod m. The following typedefs define the random number engine with two commonly used parameter sets:

std::lgamma

Defined in header <cmath> float lgamma( float arg ); (1) (since C++11) double lgamma( double arg ); (2) (since C++11) long double lgamma( long double arg ); (3) (since C++11) double lgamma( Integral arg ); (4) (since C++11) 1-3) Computes the natural logarithm of the absolute value of the gamma function of arg. 4) A set of overloads or a function template accepting an argument of any integral type. Equivalent to 2) (the argument is cast to

std::lexicographical_compare

Defined in header <algorithm> template< class InputIt1, class InputIt2 > bool lexicographical_compare( InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2 ); (1) template< class InputIt1, class InputIt2, class Compare > bool lexicographical_compare( InputIt1 first1, InputIt1 last1, InputIt2 first2, InputIt2 last2, Compare comp ); (2) Checks if the first r

std::less_equal&lt;void&gt;

Defined in header <functional> template<> class less_equal<void>; (since C++14) std::less_equal<> is a specialization of std::less_equal with parameter and return type deduced. Member types Member type Definition is_transparent /* unspecified */ Member functions operator() tests if the lhs compares less or equal than rhs (public member function) std::less_equal<>::operator() template< class T, class U> constexpr aut

std::less_equal

Defined in header <functional> template< class T > struct less_equal; (until C++14) template< class T = void > struct less_equal; (since C++14) Function object for performing comparisons. Unless specialized, invokes operator<= on type T. Specializations The partial specialization of std::less_equal for any pointer type yields a total order, even if the built-in operator<= does not. The standard library provides a specialization of std::less_equa

std::less&lt;void&gt;

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

std::less

Defined in header <functional> template< class T > struct less; (until C++14) template< class T = void > struct less; (since C++14) Function object for performing comparisons. Unless specialized, invokes operator< on type T. Specializations The partial specialization of std::less for any pointer type yields a total order, even if the built-in operator< does not. The standard library provides a specialization of std::less when T is not specified,

std::length_error

Defined in header <stdexcept> class length_error; Defines a type of object to be thrown as exception. It reports errors that are consequence of attempt to exceed implementation defined length limits for some object. This exception is thrown by member functions of std::basic_string and std::vector::reserve. Inheritance diagram. Member functions (constructor) constructs the exception object (public member function) std::length_error::length_error explici

std::left

Defined in header <ios> std::ios_base& left( std::ios_base& str ); (1) std::ios_base& right( std::ios_base& str ); (2) std::ios_base& internal( std::ios_base& str ); (3) Modifies the default positioning of the fill characters. left and right apply to any output, internal applies to integer, floating-point, and monetary output. Has no effect on input. 1) sets the adjustfield of the stream str to left as if by calling str.setf(std::ios_base

std::ldexp

Defined in header <cmath> float ldexp( float x, int exp ); (1) double ldexp( double x, int exp ); (2) long double ldexp( long double x, int exp ); (3) double ldexp( Integral x, int exp ); (4) (since C++11) 1-3) Multiplies a floating point value x by the number 2 raised to the exp power. 4) A set of overloads or a function template accepting an argument of any integral type. Equivalent to (2) (the argument is cast to double). Parameters