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::binomial_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::linear_congruential_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 1u if increment is 0u, and is equal to 0u otherwise. 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::linear_congruential_engine::max

static constexpr result_type max(); (since C++11) Returns the maximum value potentially generated by the random-number engine. This value is one less than modulus. 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::linear_congruential_engine::linear_congruential_engine

explicit linear_congruential_engine( result_type value = default_seed ); (1) (since C++11) template< class Sseq > explicit linear_congruential_engine( Sseq& s ); (2) (since C++11) linear_congruential_engine( const linear_congruential_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 se

std::unordered_map::bucket

size_type bucket( const Key& key ) const; (since C++11) Returns the index of the bucket for key key. Elements (if any) with keys equivalent to key are always found in this bucket. The returned value is valid only for instances of the container for which bucket_count() returns the same value. The behavior is undefined if bucket_count() is zero. Parameters key - the value of the key to examine Return value Bucket index for the key key. Complexity Constant. See also

std::generate

Defined in header <algorithm> template< class ForwardIt, class Generator > void generate( ForwardIt first, ForwardIt last, Generator g ); Assigns each element in range [first, last) a value generated by the given function object g. Parameters first, last - the range of elements to generate g - generator function object that will be called. The signature of the function should be equivalent to the following: Ret fun(); The type Ret must be such that

Basic concepts

This section provides definitions for the specific terminology and the concepts used when describing the C++ programming language. A C++ program is a sequence of text files (typically header and source files) that contain declarations. They undergo translation to become an executable program, which is executed when the OS calls its main function. Certain words in a C++ program have special meaning, and these are known as keywords. Others can be used as identifiers. Comments are ignored during t

std::basic_streambuf::snextc

int_type snextc(); Advances the input sequence by one character and reads one character. The function calls sbumpc() to advance the input sequence. If that function returns Traits::eof() meaning that input sequence has been exhausted and uflow() could not retrieve more data, Traits::eof() is returned. Otherwise sgetc() is called in order to read the character. Parameters (none). Return value The value of the next character. If the input sequence has been exhausted, Traits::eof() i

std::chi_squared_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)