std::strxfrm

Defined in header <cstring> std::size_t strxfrm( char* dest, const char* src, std::size_t count ); Transforms the null-terminated byte string pointed to by src into the implementation-defined form such that comparing two transformed strings with std::strcmp gives the same result as comparing the original strings with std::strcoll, in the current C locale. The first count characters of the transformed string are written to destination, including the terminating null characte

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

Defined in header <locale> public: iter_type get(iter_type beg, iter_type end, bool intl, std::ios_base& str, std::ios_base::iostate& err, long double& units) const; (1) iter_type get(iter_type beg, iter_type end, bool intl, std::ios_base& str, std::ios_base::iostate& err, string_type& digits) const; (2) protected: virtual iter_type do_get(iter_type beg, iter_type end, bool intl, std::ios_base& str,

std::align

Defined in header <memory> void* align( std::size_t alignment, std::size_t size, void*& ptr, std::size_t& space ); (since C++11) Given a pointer ptr to a buffer of size space, returns a pointer aligned by the specified alignment for size number of bytes and decreases space argument by the number of bytes used for alignment. The first aligned address is returned. The function modifies the pointer only if it would be possible to

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