std::future::wait_for

template< class Rep, class Period > std::future_status wait_for( const std::chrono::duration<Rep,Period>& timeout_duration ) const; (since C++11) Waits for the result to become available. Blocks until specified timeout_duration has elapsed or the result becomes available, whichever comes first. Returns value identifies the state of the result. A steady clock is used to measure the duration. This function may block for longer than timeout_duration due to scheduling or res

std::vector

Defined in header <vector> template< class T, class Allocator = std::allocator<T> > class vector; std::vector is a sequence container that encapsulates dynamic size arrays. The elements are stored contiguously, which means that elements can be accessed not only through iterators, but also using offsets on regular pointers to elements. This means that a pointer to an element of a vector may be passed to any function that expects a pointer to an element o

exception

This header is part of the error handling library. Classes exception base class for exceptions thrown by the standard library components (class) nested_exception (C++11) a mixin type to capture and store current exceptions (class) bad_exception exception thrown when dynamic exception specification is violated, if possible (class) Typedefs unexpected (deprecated since C++11) function called when dynamic exception specification is violated (function) unexpect

std::wcsftime

Defined in header <cwchar> std::size_t wcsftime( wchar_t* str, std::size_t count, const wchar_t* format, const std::tm* time ); Converts the date and time information from a given calendar time time to a null-terminated wide character string str according to format string format. Up to count bytes are written. Parameters str - pointer to the first element of the wchar_t array for output count - maximum number of wide characters to write format - pointer

asm declaration

asm-declaration gives the ability to embed assembly language source code within a C++ program. This declaration is conditionally-supported and implementation defined, meaning that it may not be present and, even when provided by the implementation, it does not have a fixed meaning. Syntax asm ( string_literal ) ; Explanation The string_literal is typically a short program written in assembly language, which is executed whenever this declaration is executed. Different C++ compilers

std::forward

Defined in header <utility> template< class T > T&& forward( typename std::remove_reference<T>::type& t ); (1) (since C++11) (until C++14) template< class T > constexpr T&& forward( typename std::remove_reference<T>::type& t ); (1) (since C++14) template< class T > T&& forward( typename std::remove_reference<T>::type&& t ); (2) (since C++11) (until C++14) template< class T > constex

inline

Usage inline specifier for functions inline namespace definition (since C++11)

std::shared_timed_mutex::try_lock_until

template< class Clock, class Duration > bool try_lock_until( const std::chrono::time_point<Clock,Duration>& timeout_time ); (since C++14) Tries to lock the mutex. Blocks until specified timeout_time has been reached or the lock is acquired, whichever comes first. On successful lock acquisition returns true, otherwise returns false. If timeout_time has already passed, this function behaves like try_lock(). The clock tied to timeout_time is used, which means that adjustmen

std::unique

Defined in header <algorithm> template< class ForwardIt > ForwardIt unique( ForwardIt first, ForwardIt last ); (1) template< class ForwardIt, class BinaryPredicate > ForwardIt unique( ForwardIt first, ForwardIt last, BinaryPredicate p ); (2) Removes all consecutive duplicate elements from the range [first, last) and returns a past-the-end iterator for the new logical end of the range. The first version uses operator== to compare the elements, the second ve

std::unordered_map::operator[]

T& operator[]( const Key& key ); (1) (since C++11) T& operator[]( Key&& key ); (2) (since C++11) Returns a reference to the value that is mapped to a key equivalent to key, performing an insertion if such key does not already exist. 1) Inserts a value_type object constructed in-place from std::piecewise_construct, std::forward_as_tuple(key), std::tuple<>() if the key does not exist. This function is equivalent to return this->try_emplace(key).first-&