std::wcscmp

Defined in header <cwchar> int wcscmp( const wchar_t* lhs, const wchar_t* rhs ); Compares two null-terminated wide strings lexicographically. The sign of the result is the sign of the difference between the values of the first pair of wide characters that differ in the strings being compared. The behavior is undefined if lhs or rhs are not pointers to null-terminated wide strings. Parameters lhs, rhs - pointers to the null-terminated wide strings to compare Ret

Function objects

A function object is any object for which the function call operator is defined. C++ provides many built-in function objects as well as support for creation and manipulation of new function objects. Polymorphic function wrappers std::function provides support for storing arbitrary function objects. function (C++11) wraps callable object of any type with specified function call signature (class template) mem_fn (C++11) creates a function object out of a pointer to a member (funct

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