std::mutex

Defined in header <mutex> class mutex; (since C++11) The mutex class is a synchronization primitive that can be used to protect shared data from being simultaneously accessed by multiple threads. mutex offers exclusive, non-recursive ownership semantics: A calling thread owns a mutex from the time that it successfully calls either lock or try_lock until it calls unlock. When a thread owns a mutex, all other threads will block (for calls to lock) or receive a false return

std::asinh

Defined in header <cmath> float asinh( float arg ); (1) (since C++11) double asinh( double arg ); (2) (since C++11) long double asinh( long double arg ); (3) (since C++11) double asinh( Integral arg ); (4) (since C++11) Computes the inverse hyperbolic sine of arg. 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 of a fl

std::stack::push

void push( const T& value ); void push( T&& value ); (since C++11) Pushes the given element value to the top of the stack. 1) Effectively calls c.push_back(value) 2) Effectively calls c.push_back(std::move(value)) Parameters value - the value of the element to push Return value (none). Complexity Equal to the complexity of Container::push_back. See also emplace (C++11) constructs element in-place at the top (public member function) pop

std::unique_copy

Defined in header <algorithm> template< class InputIt, class OutputIt > OutputIt unique_copy( InputIt first, InputIt last, OutputIt d_first ); (1) template< class InputIt, class OutputIt, class BinaryPredicate > OutputIt unique_copy( InputIt first, InputIt last, OutputIt d_first, BinaryPredicate p ); (2) Copies the elements from the range [first, last), to another range beginning at d_first in such a way that the

std::match_results::length

difference_type length( size_type n = 0 ) const; (since C++11) Returns the length of the specified sub-match. If n == 0, the length of the entire matched expression is returned. If n > 0 && n < size(), the length of nth sub-match is returned. if n >= size(), a length of the unmatched match is returned. The call is equivalent to (*this)[n].length(). Parameters n - integral number specifying which match to examine Return value The length of the specified mat

std::set_terminate

Defined in header <exception> std::terminate_handler set_terminate( std::terminate_handler f ); Makes f the new global terminate handler function and returns the previously installed std::terminate_handler. This function is thread-safe. Every call to std::set_terminate synchronizes-with (see std::memory_order) the subsequent std::set_terminate and std::get_terminate. (since C++11) Parameters f - pointer to function of type std::terminate_handler, or null pointer

std::atomic::operator T()

(since C++11) operator T() const; operator T() const volatile; Atomically loads and returns the current value of the atomic variable. Equivalent to load(). Parameters (none). Return value The current value of the atomic variable. Exceptions noexcept specification: noexcept See also load (C++11) atomically obtains the value of the atomic object (public member function)

std::putwchar

Defined in header <cwchar> wint_t putwchar( wchar_t ch ); Writes a wide character ch to stdout. Parameters ch - wide character to be written Return value ch on success, WEOF on failure. See also putchar writes a character to stdout (function) fputwcputwc writes a wide character to a file stream (function) C documentation for putwchar

std::default_delete

Defined in header <memory> template< class T > struct default_delete (1) (since C++11) template< class T > struct default_delete<T[]> (2) (since C++11) std::default_delete is the default destruction policy used by std::unique_ptr when no deleter is specified. 1) The non-specialized default_delete uses delete to deallocate memory for a single object. 2) A partial specialization for array types that uses delete[] is also provided. Member functions

RAND_MAX

Defined in header <cstdlib> #define RAND_MAX /*implementation defined*/ Expands to an integer constant expression equal to the maximum value returned by the function std::rand. This value is implementation dependent. It's guaranteed that this value is at least 32767. See also rand generates a pseudo-random number (function) srand seeds pseudo-random number generator (function) C documentation for RAND_MAX