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

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

Move constructors

A move constructor of class T is a non-template constructor whose first parameter is T&&, const T&&, volatile T&&, or const volatile T&&, and either there are no other parameters, or the rest of the parameters all have default values. Syntax class_name ( class_name && ) (1) (since C++11) class_name ( class_name && ) = default; (2) (since C++11) class_name ( class_name && ) = delete; (3) (since C++11) Explanation

std::unordered_multimap::clear

void clear(); (since C++11) Removes all elements from the container. Invalidates any references, pointers, or iterators referring to contained elements. May invalidate any past-the-end iterators. Parameters (none). Return value (none). Exceptions noexcept specification: noexcept Complexity Linear in the size of the container. See also erase erases elements (public member function)

std::copysign

Defined in header <cmath> float copysign( float x, float y ); (1) (since C++11) double copysign( double x, double y ); (2) (since C++11) long double copysign( long double x, long double y ); (3) (since C++11) Promoted copysign( Arithmetic1 x, Arithmetic2 y ); (4) (since C++11) 1-3) Composes a floating point value with the magnitude of x and the sign of y. 4) A set of overloads or a function template for all combinations of arguments of ari

volatile

Usage volatile type qualifier

std::list::max_size

size_type max_size() const; Returns the maximum number of elements the container is able to hold due to system or library implementation limitations, i.e. std::distance(begin(), end()) for the largest container. Parameters (none). Return value Maximum number of elements. Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11) Complexity Constant. Notes This value is typically equal to std::numeric_limits<size_type>::max(), and reflects the

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

new expression

Creates and initializes objects with dynamic storage duration, that is, objects whose lifetime is not limited by the scope in which they were created. Syntax ::(optional) new (placement_params)(optional) ( type ) initializer(optional) (1) ::(optional) new (placement_params)(optional) type initializer(optional) (2) 1) Attempts to create an object of type, denoted by the type-id type, which may be array type, and may include the type specifier auto (since C++11)or the placeholde

std::valarray

Defined in header <valarray> template< class T > class valarray; std::valarray is the class for representing and manipulating arrays of values. It supports element-wise mathematical operations and various forms of generalized subscript operators, slicing and indirect access. Notes std::valarray and helper classes are defined to be free of certain forms of aliasing, thus allowing operations on these classes to be optimized similar to the effect of the keyword restri