RandomNumberDistribution

A RandomNumberDistribution is a function object returning random numbers according to a probability density function p(x) or a discrete probability distribution P(xi). Requirements D is a class meeting the RandomNumberDistribution requirements. It shall also satisfy the CopyConstructible and CopyAssignable requirements. T is the associated result_type. P is the associated param_type. It shall satisfy the CopyConstructible, CopyAssignable, and EqualityComparable requirements. It also h

std::scalbn

Defined in header <cmath> float scalbn( float x, int exp ); (1) (since C++11) double scalbn( double x, int exp ); (2) (since C++11) long double scalbn( long double x, int exp ); (3) (since C++11) double scalbn( Integral x, int exp ); (4) (since C++11) float scalbln( float x, long exp ); (5) (since C++11) double scalbln( double x, long exp ); (6) (since C++11) long double scalbln( long double x, long exp ); (7) (sin

std::generate_n

Defined in header <algorithm> template< class OutputIt, class Size, class Generator > void generate_n( OutputIt first, Size count, Generator g ); (until C++11) template< class OutputIt, class Size, class Generator > OutputIt generate_n( OutputIt first, Size count, Generator g ); (since C++11) Assigns values, generated by given function object g, to the first count elements in the range beginning at first, if count>0. Does nothing otherwise. Parameters

future

This header is part of the thread support library. Classes promise (C++11) stores a value for asynchronous retrieval (class template) packaged_task (C++11) packages a function to store its return value for asynchronous retrieval (class template) future (C++11) waits for a value that is set asynchronously (class template) shared_future (C++11) waits for a value (possibly referenced by other futures) that is set asynchronously (class template) launch (C++11)

std::uninitialized_copy_n

Defined in header <memory> template< class InputIt, class Size, class ForwardIt > ForwardIt uninitialized_copy_n( InputIt first, Size count, ForwardIt d_first); (since C++11) Copies count elements from a range beginning at first to an uninitialized memory area beginning at d_first as if by. for ( ; n > 0; ++d_first, (void) ++first, --n) ::new (static_cast<void*>(std::addressof(*d_first))) typename iterator_traits<ForwardIterator>::value_type(*f

std::result_of

Defined in header <type_traits> template< class > class result_of; // undefined template< class F, class... ArgTypes > class result_of<F(ArgTypes...)>; (since C++11) Deduces the return type of a function call expression at compile time. F must be a callable type, reference to function, or reference to callable type. Invoking F with ArgTypes... must be a well-formed expression (since C++11) F and all types in ArgTypes can be any complete type, array of

std::unordered_map::begin(int)

local_iterator begin( size_type n ); (since C++11) const_local_iterator begin( size_type n ) const; (since C++11) const_local_iterator cbegin( size_type n ) const; (since C++11) Returns an iterator to the first element of the bucket with index pos. Parameters n - the index of the bucket to access Return value Iterator to the first element. Complexity Constant. See also end(int) cend(int) returns an iterator to the end of the specified bucket (public m

std::sin

Defined in header <cmath> float sin( float arg ); (1) double sin( double arg ); (2) long double sin( long double arg ); (3) double sin( Integral arg ); (4) (since C++11) Computes the sine of arg (measured in radians). 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 arg - value representing angle in radians, of a floating-point or

std::allocator_arg

Defined in header <memory> constexpr std::allocator_arg_t allocator_arg = std::allocator_arg_t(); (since C++11) std::allocator_arg is a constant of type std::allocator_arg_t used to disambiguate, at call site, the overloads of the constructors and member functions of allocator-aware objects, such as std::tuple, std::function, std::promise, and std::packaged_task. See also allocator_arg_t (C++11) tag type used to select allocator-aware constructor overloads (class)

std::wstring_convert::from_bytes

Defined in header <locale> wide_string from_bytes( char byte ); (1) wide_string from_bytes( const char* ptr ); (2) wide_string from_bytes( const byte_string& str ); (3) wide_string from_bytes( const char* first, const char* last); (4) Performs multibyte to wide conversion, using the codecvt facet supplied at construction. 1) Converts byte as if it was a string of length 1 to wide_string. 2) Converts the null-terminated multibyte character sequence begi