std::move_iterator::base

Iterator base() const; Returns the underlying base iterator. Parameters (none). Return value The underlying iterator. Exceptions (none). Example See also operator*operator-> accesses the pointed-to element (public member function)

std::allocator::deallocate

Defined in header <memory> void deallocate( pointer p, size_type n ); Deallocates the storage referenced by the pointer p, which must be a pointer obtained by an earlier call to allocate(). The argument n must be equal to the first argument of the call to allocate() that originally produced p. Calls ::operator delete(void*), but it is unspecified when and how it is called. Parameters p - pointer obtained from allocate() n - number of objects earlier passed to

std::has_facet

Defined in header <locale> template< class Facet > bool has_facet( const locale& loc ); Checks if the locale loc implements the facet Facet. Parameters loc - the locale object to query Return value Returns true if the facet Facet was installed in the locale loc, false otherwise. Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11) Example #include <iostream> #include <locale> // minimal custom fa

virtual function specifier

Specifies that a non-static member function is virtual and supports dynamic binding. Syntax virtual function_declaration ; Explanation Virtual functions are member functions whose behavior can be overridden in derived classes. As opposed to non-virtual functions, the overridden behavior is preserved even if there is no compile-time information about the actual type of the class. If a derived class is handled using pointer or reference to the base class, a call to a overridden virt

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