dynamic exception specification

Lists the exceptions that a function might directly or indirectly throw. Syntax throw(typeid, typeid, ...) (deprecated) This specification may appear only on lambda-declarator or on a function declarator that is the top-level (until C++17) declarator of a function, variable, or non-static data member, whose type is a function type, a pointer to function type, a reference to function type, a pointer to member function type. It may appear on the declarator of a parameter or on the decl

std::bitset::all

bool all() const; (1) (since C++11) bool any() const; (2) bool none() const; (3) Checks if all, any or none of the bits are set to true. 1) Checks if all bits are set to true 2) Checks if any bits are set to true 3) Checks if none of the bits are set to true Parameters (none). Return value 1) true if all bits are set to true, otherwise false 2) true if any of the bits are set to true, otherwise false 3) true if none of the bits are set to true, otherwise fal

EXIT_SUCCESS

Defined in header <cstdlib> #define EXIT_SUCCESS /*implementation defined*/ #define EXIT_FAILURE /*implementation defined*/ The EXIT_SUCCESS and EXIT_FAILURE macros expand into integral expressions that can be used as arguments to the std::exit function (and, therefore, as the values to return from the main function), and indicate program execution status. Constant Explanation EXIT_SUCCESS successful execution of a program EXIT_FAILURE unsuccessful executio

std::vector&lt;bool&gt;::swap

Defined in header <vector> static void swap(reference x, reference y); Swaps the contents of x and y. Parameters x - std::vector<bool>::reference value to swap with y y - std::vector<bool>::reference value to swap with x Return value (none). See also reference proxy class representing a reference to a single bool (class) std::swap(std::vector) specializes the std::swap algorithm (function template)

std::asin(std::valarray)

Defined in header <valarray> template< class T > valarray<T> asin( const valarray<T>& va ); For each element in va computes arc sine of the value of the element. Parameters va - value array to apply the operation to Return value Value array containing arc sines of the values in va. Notes Unqualified function (asin) is used to perform the computation. If such function is not available, std::asin is used due to argument dependent lookup.

std::atan

Defined in header <cmath> float atan( float arg ); (1) double atan( double arg ); (2) long double atan( long double arg ); (3) double atan( Integral arg ); (4) (since C++11) Computes the principal value of the arc tangent of arg. 4) A set of overloads or a function template accepting an argument of any integral type. Equivalent to 2) (the argument is cast to double). Parameters arg - value of a floating-point or Integral type

std::wcstoimax

Defined in header <cinttypes> std::intmax_t wcstoimax( const wchar_t* nptr, wchar_t** endptr, int base ); (since C++11) std::uintmax_t wcstoumax( const wchar_t* nptr, wchar_t** endptr, int base ); (since C++11) Interprets an unsigned integer value in a wide string pointed to by nptr. Discards any whitespace characters (as identified by calling isspace()) until the first non-whitespace character is found, then takes as many characters as possible to form a valid base-n

Date and time utilities

C++ includes support for two types of time manipulation: The chrono library, a flexible collection of types that track time with varying degrees of precision (e.g. std::chrono::time_point). C-style date and time library (e.g. std::time) chrono library The chrono library defines three main types (durations, clocks, and time points) as well as utility functions and common typedefs. Duration A duration consists of a span of time, defined as some number of ticks of some time unit. For e

std::shared_lock

Defined in header <shared_mutex> template< class Mutex > class shared_lock; (since C++14) The class shared_lock is a general-purpose shared mutex ownership wrapper allowing deferred locking, timed locking and transfer of lock ownership. Locking a shared_lock locks the associated shared mutex in shared mode (to lock it in exclusive mode, std::unique_lock can be used). The shared_lock class is movable, but not copyable -- it meets the requirements of MoveConstructible a

std::iterator_traits

Defined in header <iterator> template< class Iterator> struct iterator_traits; template< class T > struct iterator_traits<T*>; template< class T > struct iterator_traits<const T*>; std::iterator_traits is the type trait class that provides uniform interface to the properties of iterator types. This makes it possible to implement algorithms only in terms of iterators. The class defines the following types that correspond to the typed