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)

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

static

Usage static storage duration with internal linkage specifier declarations of class members not bound to specific instances

std::initializer_list::end

const T* end() const; (since C++11) (until C++14) constexpr const T* end() const; (since C++14) Returns a pointer to one past the last element in the initializer list, i.e. begin() + size(). If the initializer list is empty, the values of begin() and end() are unspecified, but will be identical. Parameters (none). Return value a pointer to one past the last element in the initializer list. Exceptions noexcept specification: noexcept Complexity Constant. See also

Non-static member functions

A non-static member function is a function that is declared in a member specification of a class without a static or friend specifier. class S { int mf1(); // non-static member function declaration void mf2() volatile, mf3() &&; // can be cv-qualified and reference-qualified int mf4() const { return data; } // can be defined inline virtual void mf5() final; // can be virtual, can use final/override S() : data(12) {} // constructors are member functions too int da

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::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::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::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

std::tuple

Defined in header <tuple> template< class... Types > class tuple; (since C++11) Class template std::tuple is a fixed-size collection of heterogeneous values. It is a generalization of std::pair. Template parameters Types... - the types of the elements that the tuple stores. Empty list is supported. Member functions (constructor) constructs a new tuple (public member function) operator= assigns the contents of one tuple to another (public member