std::wcsrtombs

Defined in header <cwchar> std::size_t wcsrtombs( char* dst, const wchar_t** src, std::size_t len, std::mbstate_t* ps ); Converts a sequence of wide characters from the array whose first element is pointed to by *src to its narrow multibyte representation that begins in the conversion state described by *ps. If dst is not null, converted characters are stored in the successive elements of the char array po

std::bitset::to_string

template< class CharT, class Traits, class Alloc > std::basic_string<CharT,Traits,Allocator> to_string() const; (until C++11) template< class CharT = char, class Traits = std::char_traits<CharT>, class Allocator = std::allocator<CharT> > std::basic_string<CharT,Traits,Allocator> to_string(CharT zero = CharT('0'), CharT one = CharT('1')) const; (since C++11) Converts the contents of the bitset to a string. Uses zero

std::terminate_handler

Defined in header <exception> typedef void (*terminate_handler)(); std::terminate_handler is the function pointer type (pointer to function that takes no arguments and returns void), which is installed and queried by the functions std::set_terminate and std::get_terminate and called by std::terminate. The C++ implementation provides a default std::terminate_handler function, which calls std::abort(). If the null pointer value is installed (by means of std::set_terminate), t

std::experimental::bad_array_length

After reviewing national body comments to n3690, arrays of runtime bound and the dynarray library component was voted out from C++14 working paper into a separate Technical Specification. This class is not a part of the draft C++14 as of n3797 Defined in header <experimental/new> class bad_array_length : public std::bad_alloc; std::bad_array_length is the type of the object thrown as exceptions by the constructors of arrays of runtime bound and objects of type std:

Value categories

Each C++ expression (an operator with its operands, a literal, a variable name, etc.) is characterized by two independent properties: a type and a value category. Each expression has some non-reference type, and each expression belongs to exactly one of the three primary value categories. Primary categories The primary value categories correspond to two properties of expressions: has identity: it's possible to determine whether the expression refers to the same entity as another expression,

std::map::at

T& at( const Key& key ); (1) (since C++11) const T& at( const Key& key ) const; (2) (since C++11) Returns a reference to the mapped value of the element with key equivalent to key. If no such element exists, an exception of type std::out_of_range is thrown. Parameters key - the key of the element to find Return value Reference to the mapped value of the requested element. Exceptions std::out_of_range if the container does not have an element with t

std::set::get_allocator

allocator_type get_allocator() const; Returns the allocator associated with the container. Parameters (none). Return value The associated allocator. Complexity Constant.

std::set::rbegin

reverse_iterator rbegin(); const_reverse_iterator rbegin() const; const_reverse_iterator crbegin() const; (since C++11) Returns a reverse iterator to the first element of the reversed container. It corresponds to the last element of the non-reversed container. Parameters (none). Return value Reverse iterator to the first element. Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11) Complexity Constant. See also rend crend r

std::conditional

Defined in header <type_traits> template< bool B, class T, class F > struct conditional; (since C++11) Provides member typedef type, which is defined as T if B is true at compile time, or as F if B is false. Member types Member type Definition type T if B == true, F if B == false Helper types template< bool B, class T, class F > using conditional_t = typename conditional<B,T,F>::type; (since C++14) Possible implementation templa

std::underflow_error

Defined in header <stdexcept> class underflow_error; Defines a type of object to be thrown as exception. It may be used to report arithmetic underflow errors (that is, situations where the result of a computation is a subnormal floating-point value). The standard library components do not throw this exception (mathematical functions report underflow errors as specified in math_errhandling). Third-party libraries, however, use this. For example, boost.math throws std::underf