std::add_pointer

Defined in header <type_traits> template< class T > struct add_pointer; (since C++11) If T is a reference type, then provides the member typedef type which is a pointer to the referred type. Otherwise, if T names an object type, a function type that is not cv- or ref-qualified (since C++17), or a (possibly cv-qualified) void type, provides the member typedef type which is the type T*. Otherwise (if T is a cv- or ref-qualified function type), provides the member typed

std::memcpy

Defined in header <cstring> void* memcpy( void* dest, const void* src, std::size_t count ); Copies count bytes from the object pointed to by src to the object pointed to by dest. Both objects are reinterpreted as arrays of unsigned char. If the objects overlap, the behavior is undefined. If either dest or src is a null pointer, the behavior is undefined, even if count is zero. If the objects are not TriviallyCopyable, the behavior of memcpy is not specified and may be undef

alignof

Usage alignof operator (since C++11) Example #include <iostream> #include <cstddef> int main() { std::cout << alignof(std::max_align_t) << '\n'; } Possible output: 16

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.

RandomAccessIterator

A RandomAccessIterator is a BidirectionalIterator that can be moved to point to any element in constant time. A pointer to an element of an array satisfies all requirements of RandomAccessIterator. Requirements The type It satisfies RandomAccessIterator if. The type It satisfies BidirectionalIterator And, given. value_type, the type denoted by std::iterator_traits<It>::value_type difference_type, the type denoted by std::iterator_traits<It>::difference_type reference, the

std::basic_string::max_size

size_type max_size() const; Returns the maximum number of elements the string is able to hold due to system or library implementation limitations, i.e. ​std::distance(begin(), end())​ for the largest string. Parameters (none). Return value Maximum number of characters. Exceptions (none) (until C++11) noexcept specification: noexcept (since C++11) Complexity Constant. Example #include <iostream> #include <string> int main() { std::string s;

std::multiset::lower_bound

iterator lower_bound( const Key& key ); (1) const_iterator lower_bound( const Key& key ) const; (1) template< class K > iterator lower_bound(const K& x); (2) (since C++14) template< class K > const_iterator lower_bound(const K& x) const; (2) (since C++14) 1) Returns an iterator pointing to the first element that is not less than key. 2) Returns an iterator pointing to the first element that compares not less to the value x. This overload

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.