std::type_index

Defined in header <typeindex> class type_index; (since C++11) The type_index class is a wrapper class around a std::type_info object, that can be used as index in associative and unordered associative containers. The relationship with type_info object is maintained through a pointer, therefore type_index is CopyConstructible and CopyAssignable. Member functions (constructor) constructs the object (public member function) (destructor) (implicitly declared) destr

std::error_condition::clear

void clear(); (since C++11) Clears the state of the error condition. Sets the error code to ​0​ and error category to std::generic_category. Parameters (none). Return value (none). Exceptions noexcept specification: noexcept

std::indirect_array::operators

void operator+=( const std::valarray<T>& other ); void operator-=( const std::valarray<T>& other ); void operator*=( const std::valarray<T>& other ); void operator/=( const std::valarray<T>& other ); void operator%=( const std::valarray<T>& other ); void operator&=( const std::valarray<T>& other ); void operator|=( const std::valarray<T>& other ); void operator^=( const std::vala

aggregate initialization

Initializes an aggregate from braced-init-list. Syntax T object = {arg1, arg2, ...}; (1) T object {arg1, arg2, ...}; (2) (since C++11) Explanation Aggregate initialization is a form of list-initialization, which initializes aggregates. An aggregate is an object of the type that is one of the following. array type class type (typically, struct or union), that has no private or protected non-static data members no user-provided constructors (explicitly defaulted or dele

std::uniform_real_distribution

Defined in header <random> template< class RealType = double > class uniform_real_distribution; (since C++11) Produces random floating-point values i, uniformly distributed on the interval [a, b), that is, distributed according to the probability function: P(i|a,b) = 1b − a . std::uniform_real_distribution satisfies all requirements of RandomNumberDistribution. Template parameters RealType - The result type generated by the generator. The effect is undefi

while loop

Executes a statement repeatedly, until the value of condition becomes false. The test takes place before each iteration. Syntax attr(optional) while ( condition ) statement attr(C++11) - any number of attributes condition - any expression which is contextually convertible to bool or a declaration of a single variable with a brace-or-equals initializer. This expression is evaluated before each iteration, and if it yields false, the loop is exited. If this is a declaration,

cmath

This header was originally in the C standard library as <math.h>. This header is part of the numeric library. Macro constants HUGE_VALFHUGE_VALHUGE_VALL (C++11)(C++11) indicates the overflow value for float, double and long double respectively (macro constant) INFINITY (C++11) evaluates to positive infinity or the value guaranteed to overflow a float (macro constant) NAN (C++11) evaluates to a quiet NaN of type float (macro constant) math_errhandlingMATH_ERRNOMA

std::multiset::multiset

(1) explicit multiset( const Compare& comp = Compare(), const Allocator& alloc = Allocator() ); (until C++14) multiset() : multiset( Compare() ) {} explicit multiset( const Compare& comp, const Allocator& alloc = Allocator() ); (since C++14) explicit multiset( const Allocator& alloc ); (1) (since C++11) (2) template< class InputIterator > multiset( InputIterator first, InputIterator last, const Comp

std::shared_timed_mutex::lock

void lock(); (since C++14) Locks the mutex. If another thread has already locked the mutex, a call to lock will block execution until the lock is acquired. If lock is called by a thread that already owns the mutex in any mode (shared or exclusive), the behavior is undefined. Prior unlock() operation on the same mutex synchronizes-with (as defined in std::memory_order) this operation. Parameters (none). Return value (none). Exceptions Throws std::system_error when errors occur,

operators (std::deque)

template< class T, class Alloc > bool operator==( const deque<T,Alloc>& lhs, const deque<T,Alloc>& rhs ); (1) template< class T, class Alloc > bool operator!=( const deque<T,Alloc>& lhs, const deque<T,Alloc>& rhs ); (2) template< class T, class Alloc > bool operator<( const deque<T,Alloc>& lhs, const deque<T,Alloc>& rhs ); (3) template< class T