std::swap(std::unordered_map)

template< class Key, class T, class Hash, class KeyEqual, class Alloc > void swap( unordered_map<Key,T,Hash,KeyEqual,Alloc>& lhs, unordered_map<Key,T,Hash,KeyEqual,Alloc>& rhs ); (since C++11) Specializes the std::swap algorithm for std::unordered_map. Swaps the contents of lhs and rhs. Calls lhs.swap(rhs). Parameters lhs, rhs - containers whose contents to swap Return value (none). Complexity Constant. Exceptions noexcept speci

list initialization

Initializes an object from braced-init-list. Syntax direct-list-initialization T object { arg1, arg2, ... }; (1) T { arg1, arg2, ... }; (2) new T { arg1, arg2, ... } (3) Class { T member { arg1, arg2, ... }; }; (4) Class::Class() : member{arg1, arg2, ...} {... (5) copy-list-initialization T object = {arg1, arg2, ...}; (6) function( { arg1, arg2, ... } ) ; (7) return { arg1, arg2, ... } ; (8) object[ { arg1, arg2, ... } ] ; (9

std::error_code::value

int value() const; (since C++11) Returns the platform dependent error value. Parameters (none). Return value The platform-dependent error value. Exceptions noexcept specification: noexcept See also category obtains the error_category for this error_code (public member function)

std::swap(std::array)

template< class T, std::size_t N > void swap( array<T,N>& lhs, array<T,N>& rhs ); (since C++11) Specializes the std::swap algorithm for std::array. Swaps the contents of lhs and rhs. Calls lhs.swap(rhs). Parameters lhs, rhs - containers whose contents to swap Return value (none). Complexity Linear in size of the container. Exceptions noexcept specification: noexcept(noexcept(lhs.swap(rhs))) (since C++17) See also swap

std::complex::real

primary template complex<T> T real() const; (1) (until C++14) constexpr T real() const; (1) (since C++14) void real( T value ); (2) specialization complex<float> float real() const; (1) (until C++11) constexpr float real(); (1) (since C++11) (until C++14) constexpr float real() const; (1) (since C++14) void real( float value ); (2) specialization complex<double> double real() const; (1) (until C++11) constexpr double

std::thread::id::id

id(); (since C++11) Default-constructs a new thread identifier. The identifier does not represent a thread. Parameters (none). Exceptions noexcept specification: noexcept

std::time_get

Defined in header <locale> template< class CharT, class InputIt = std::istreambuf_iterator<CharT> > class time_get; Class template std::time_get encapsulates date and time parsing rules. The I/O manipulator std::get_time uses the std::time_get facet of the I/O stream's locale to convert text input to a std::tm object. Inheritance diagram. Type requirements - InputIt must meet the requirements of InputIterator. Specializations Two stand

std::numpunct

Defined in header <locale> template< class CharT > class numpunct; The facet std::numpunct encapsulates numeric punctuation preferences. Stream I/O operations use std::numpunct through std::num_get and std::num_put for parsing numeric input and formatting numeric output. The numbers that are supported by std::numpunct have the format described below. Here digit represents the radix set specified by the fmtflags argument value, thousands-sep and decimal-point are the r

enumeration declaration

An enumeration is a distinct type whose value is restricted to one of several explicitly named constants ("enumerators"). The values of the constants are values of an integral type known as the underlying type of the enumeration. An enumeration is defined by enum-specifier, which appears in decl-specifier-seq of the declaration syntax. The enum-specifier has the following syntax: enum-key attr(optional) identifier(optional) enum-base(optional) { enumerator-list(optional) } (1) enum-key

std::qsort

Defined in header <cstdlib> extern "C" void qsort( void *ptr, std::size_t count, std::size_t size, int (*comp)(const void *, const void *) ); extern "C++" void qsort( void *ptr, std::size_t count, std::size_t size, int (*comp)(const void *, const void *) ); Sorts the given array pointed to by ptr in ascending order. The array contains count elements of size bytes. Function pointed to by comp is used for object comparison. If comp indicates two