std::map::get_allocator

allocator_type get_allocator() const; Returns the allocator associated with the container. Parameters (none). Return value The associated allocator. Complexity Constant.

explicit template specialization

Allows customizing the template code for a given set of template arguments. Syntax template <> declaration Any of the following can be fully specialized: function template class template (since C++14)variable template member function of a class template static data member of a class template member class of a class template member enumeration of a class template member class template of a class or class template member function template of a class or class temp

vector

This header is part of the containers library. Includes <initializer_list>(C++11) Classes vector dynamic contiguous array (class template) vector<bool> space-efficient dynamic bitset (class template specialization) std::hash<std::vector<bool>> (C++11) hash support for std::vector<bool> (class template specialization) Functions operator==operator!=operator<operator<=operator>operator>= lexicographically compares the va

std::multiset::size

size_type size() const; Returns the number of elements in the container, i.e. std::distance(begin(), end()). Parameters (none). Return value The number of elements in the container. Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11) Complexity Constant. Example The following code uses size to display the number of elements in a std::multiset: #include <set> #include <iostream> int main() { std::multiset<int> nums {

std::binomial_distribution

Defined in header <random> template< class IntType = int > class binomial_distribution; (since C++11) Produces random non-negative integer values i, distributed according to discrete probability function: P(i|t,p) = ⎛⎜⎝ti⎞⎟⎠ · pi · (1 − p)t−i The value obtained is the number of successes in a sequence of t yes/no experiments, each of which succeeds with probability p. std::binomial_distribution satisfies RandomNumberDistribution. Template parameters IntType

std::void_t

Defined in header <type_traits> template< class... > using void_t = void; (since C++17) Utility metafunction that maps a sequence of any types to the type void. Notes This metafunction is used in template metaprogramming to detect ill-formed types in SFINAE context: // primary template handles types that have no nested ::type member: template< class, class = std::void_t<> > struct has_type_member : std::false_type { }; // specialization recognizes typ

std::chrono::duration_values::min

static constexpr Rep min(); Returns the lowest possible representation. Parameters (none). Return value returns std::numeric_limits<Rep>::lowest(). See also min [static] returns the special duration value min (public static member function of std::chrono::duration) zero [static] returns a zero-length representation (public static member function) max [static] returns the largest possible representation (public static member function)

std::normal_distribution::mean

RealType mean() const; (1) (since C++11) RealType stddev() const; (2) (since C++11) Returns the parameters the distribution was constructed with. 1) Returns the mean μ distribution parameter. The mean specifies the location of the peak. The default value is 0.0. 2) Returns the deviation σ distribution parameter. The default value is 1.0. Parameters (none). Return value 1) The mean μ distribution parameter. 2) The deviation σ distribution parameter. See also param

std::negative_binomial_distribution

Defined in header <random> template< class IntType = int > class negative_binomial_distribution; (since C++11) Produces random non-negative integer values i, distributed according to discrete probability function: P(i|k,p) = ⎛⎜⎝k + i − 1i⎞⎟⎠ · pk · (1 − p)i The value represents the number of failures in a series of independent yes/no trials (each succeeds with probability p), before exactly k successes occur. std::negative_binomial_distribution satisfies RandomNu

std::to_string

Defined in header <string> std::string to_string( int value ); (1) (since C++11) std::string to_string( long value ); (2) (since C++11) std::string to_string( long long value ); (3) (since C++11) std::string to_string( unsigned value ); (4) (since C++11) std::string to_string( unsigned long value ); (5) (since C++11) std::string to_string( unsigned long long value ); (6) (since C++11) std::string to_string( float value ); (7) (since C++11)