std::c16rtomb

Defined in header <cuchar> std::size_t c16rtomb( char* s, char16_t c16, std::mbstate_t* ps ); (since C++11) Converts a UCS-2 code point to narrow multibyte character. If s is not a null pointer, the function determines the number of bytes necessary to store the multibyte character representation of c16 (including any shift sequences), and stores the multibyte character representation in the character array whose first element is pointed to by s. At most MB_CUR_MAX bytes can

Pseudo-random number generation

The random number library provides classes that generate random and pseudo-random numbers. These classes include: Random number engines (both pseudo-random number generators, which generate integer sequences with a uniform distribution, and true random number generators if available) Random number distributions (e.g. uniform, normal, or poisson distributions) which convert the output of random number engines into various statistical distributions Engines and distributions are designed to

std::pow(std::complex)

Defined in header <complex> template< class T > complex<T> pow( const complex<T>& x, const complex<T>& y); template< class T > complex<T> pow( const complex<T>& x, const T& y); template< class T > complex<T> pow( const T& x, const complex<T>& y); template< class T, class U > complex</*Promoted*/> pow( const complex<T>& x, const complex<U>& y);

std::lock

Defined in header <mutex> template< class Lockable1, class Lockable2, class... LockableN > void lock( Lockable1& lock1, Lockable2& lock2, LockableN&... lockn ); (since C++11) Locks the given Lockable objects lock1, lock2, ..., lockn using a deadlock avoidance algorithm to avoid deadlock. The objects are locked by an unspecified series of calls to lock, try_lock, unlock. If a call to lock or unlock results in an exception, unlock is called for any locked ob

std::get_pointer_safety

Defined in header <memory> std::pointer_safety get_pointer_safety(); (since C++11) Obtains the implementation-defined pointer safety model, which is a value of type std::pointer_safety. Parameters (none). Return value The pointer safety used by this implementation. Exceptions noexcept specification: noexcept See also pointer_safety (C++11) lists pointer safety models (class)

std::messages_byname

Defined in header <locale> template< class CharT > class messages_byname : public std::messages<CharT>; std::messages_byname is a std::messages facet which encapsulates retrieval of strings from message catalogs of the locale specified at its construction. Two specializations are provided by the standard library. Defined in header <locale> std::messages_byname<char> narrow/multibyte message catalog access std::messages_byname<wchar_t>

std::partial_sort

Defined in header <algorithm> template< class RandomIt > void partial_sort( RandomIt first, RandomIt middle, RandomIt last ); (1) template< class RandomIt, class Compare > void partial_sort( RandomIt first, RandomIt middle, RandomIt last, Compare comp ); (2) Rearranges elements such that the range [first, middle) contains the sorted middle - first smallest elements in the range [first, last). The order of equal elements is not guaranteed to be preserved. T

Dependent names

Inside the definition of a template (both class template and function template), the meaning of some constructs may differ from one instantiation to another. In particular, types and expressions may depend on types of type template parameters and values of non-type template parameters. template<typename T> struct X : B<T> // "B<T>" is dependent on T { typename T::A* pa; // "T::A" is dependent on T // (see below for the meaning of this use of "typenam

std::basic_filebuf::overflow

protected: virtual int_type overflow ( int_type c = Traits::eof() ); Writes some data from the put area to the associated character sequence (to the file). Behaves like the base class std::basic_streambuf::overflow, except that to write the data, first uses codecvt::out() of the imbued locale to convert the characters into external (possibly multibyte) representation, stored in a temporary buffer (allocated as large as necessary), then uses file I/O to copy all fully-converted bytes int

std::wmemcmp

Defined in header <cwchar> int wmemcmp( const wchar_t* lhs, const wchar_t* rhs, std::size_t count ); Compares the first count wide characters of the wide character arrays pointed to by lhs and rhs. The comparison is done 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 arrays being compared. If count is zero, the function does nothing. Parameters lhs, rhs - pointers to