std::move

Defined in header <algorithm> template< class InputIt, class OutputIt > OutputIt move( InputIt first, InputIt last, OutputIt d_first ); (since C++11) Moves the elements in the range [first, last), to another range beginning at d_first. After this operation the elements in the moved-from range will still contain valid values of the appropriate type, but not necessarily the same values as before the move. Parameters first, last - the range of elements to move

std::reference_wrapper::get

operator T& () const; (since C++11) T& get() const; (since C++11) Returns the stored reference. Parameters (none). Return value The stored reference. Exceptions 1-2) noexcept specification: noexcept See also operator() calls the stored function (public member function)

std::ostreambuf_iterator::operator++

ostreambuf_iterator& operator++(); ostreambuf_iterator& operator++( int ); Does nothing. These operator overloads are provided to satisfy the requirements of OutputIterator. They make it possible for the expressions *iter++=value and *++iter=value to be used to output (insert) a value into the underlying stream. Parameters (none). Return value *this.

Strings library

The C++ strings library includes support for two general types of strings: std::basic_string - a templated class designed to manipulate strings of any character type. Null-terminated strings - arrays of characters terminated by a special null character. std::basic_string The templated class std::basic_string generalizes how sequences of characters are manipulated and stored. String creation, manipulation, and destruction are all handled by a convenient set of class methods and relate

Comments

Comments serve as a sort of in-code documentation. When inserted into a program, they are effectively ignored by the compiler; they are solely intended to be used as notes by the humans that read source code. Although specific documentation is not part of the C++ standard, several utilities exist that parse comments with different documentation formats. Syntax /* comment */ (1) // comment\n (2) 1) Often known as "C-style" or "multi-line" comments. 2) Often known as "C++-style

virtual

Usage virtual function specifier virtual base class specifier

std::allocator_traits::allocate

Defined in header <memory> static pointer allocate( Alloc& a, size_type n ); (1) (since C++11) static pointer allocate( Alloc& a, size_type n, const_void_pointer hint ); (2) (since C++11) Uses the allocator a to allocate n*sizeof(Alloc::value_type) bytes of uninitialized storage. 1) Calls a.allocate(n) 2) Additionally passes memory locality hint hint. Calls a.allocate(n, hint) if possible. If not possible (e.g. a has no two-argument member function allocate

std::literals::string_literals::operator&quot;&quot;s

Defined in header <string> string operator "" s(const char *str, std::size_t len); (1) (since C++14) u16string operator "" s(const char16_t *str, std::size_t len); (2) (since C++14) u32string operator "" s(const char32_t *str, std::size_t len); (3) (since C++14) wstring operator "" s(const wchar_t *str, std::size_t len); (4) (since C++14) Forms a string literal of the desired type. 1) returns std::string{str, len} 2) returns std::u16string{str, len} 3

std::timed_mutex::timed_mutex

timed_mutex(); (1) (since C++11) timed_mutex( const timed_mutex& ) = delete; (2) (since C++11) 1) Constructs the mutex. The mutex is in unlocked state after the call. 2) Copy constructor is deleted. Parameters (none). Exceptions std::system_error if the construction is unsuccessful.

std::isxdigit

Defined in header <cctype> int isxdigit( int ch ); Checks if the given wide character is a hexadecimal numeric character (0123456789abcdefABCDEF). The behavior is undefined if the value of ch is not representable as unsigned char and is not equal to EOF. Parameters ch - character to classify Return value Non-zero value if the character is an hexadecimal numeric character, zero otherwise. Notes isdigit and isxdigit are the only standard narrow character clas