std::uncaught_exception

Defined in header <exception> bool uncaught_exception(); (1) (deprecated in C++17) int uncaught_exceptions(); (2) (since C++17) 1) Detects if the current thread has a live exception object, that is, an exception has been thrown or rethrown and not yet entered a matching catch clause, std::terminate or std::unexpected. In other words, std::uncaught_exception detects if stack unwinding is currently in progress. 2) Detects how many exceptions have been thrown or rethro

std::atomic_exchange

Defined in header <atomic> (1) (since C++11) template< class T > T atomic_exchange( std::atomic<T>* obj, T desr ); template< class T > T atomic_exchange( volatile std::atomic<T>* obj, T desr ); (2) (since C++11) template< class T > T atomic_exchange_explicit( std::atomic<T>* obj, T desr, std::memory_order order ); template< class T > T atomic_exchange_explicit( volatile std::atomic<T>

std::rint

Defined in header <cmath> float rint( float arg ); (1) (since C++11) double rint( double arg ); (2) (since C++11) long double rint( long double arg ); (3) (since C++11) double rint( Integral arg ); (4) (since C++11) long lrint( float arg ); (5) (since C++11) long lrint( double arg ); (6) (since C++11) long lrint( long double arg ); (7) (since C++11) long lrint( Integral arg ); (8) (since C++11) long long llrint( float arg ); (9)

Implicit conversions

Implicit conversions are performed whenever an expression of some type T1 is used in context that does not accept that type, but accepts some other type T2; in particular: When the expression is used as the argument when calling a function that is declared with T2 as parameter. When the expression is used as an operand with an operator that expects T2 When initializing a new object of type T2, including return statement in a function returning T2. When the expression is used in a switch

cwchar

This header was originally in the C standard library as <wchar.h>. This header is part of the null-terminated wide and multibyte strings libraries. It also provides some C-style I/O functions and conversion from C-style Date. Macros NULL implementation-defined null pointer constant (macro constant) WEOF a non-character value of type wint_t used to indicate errors (macro constant) WCHAR_MIN the smallest valid value of wchar_t (macro constant) WCHAR_MAX the largest valid

std::ctype::is

Defined in header <locale> public: bool is(mask m, CharT c) const; (1) public: const CharT* is(const CharT* low, const CharT* high, mask* vec) const; (2) protected: virtual bool do_is(mask m, CharT c) const; (3) protected: virtual const CharT* do_is(const CharT* low, const CharT* high, mask* vec) const; (4) 1,2) public member function, calls the protected virtual member function do_is of the most derived class. 3) Checks if the character c is classified

algorithm

This header is part of the algorithm library. Functions Non-modifying sequence operations all_ofany_ofnone_of (C++11)(C++11)(C++11) checks if a predicate is true for all, any or none of the elements in a range (function template) for_each applies a function to a range of elements (function template) countcount_if returns the number of elements satisfying specific criteria (function template) mismatch finds the first position where two ranges differ (function templa

std::back_insert_iterator::back_insert_iterator

explicit back_insert_iterator( Container& c ); Initializes the underlying pointer to the container to std::addressof(c) . Parameters c - container to initialize the inserter with

std::array::begin

iterator begin(); (since C++11) const_iterator begin() const; (since C++11) const_iterator cbegin() const; (since C++11) Returns an iterator to the first element of the container. If the container is empty, the returned iterator will be equal to end(). Parameters (none). Return value Iterator to the first element. Exceptions noexcept specification: noexcept Complexity Constant. Example See also end cend returns an iterator to the end (public member

std::strcoll

Defined in header <cstring> int strcoll( const char* lhs, const char* rhs ); Compares two null-terminated byte strings according to the current locale as defined by the LC_COLLATE category. Parameters lhs, rhs - pointers to the null-terminated byte strings to compare Return value Negative value if lhs is less than (precedes) rhs. ​0​ if lhs is equal to rhs. Positive value if lhs is greater than (follows) rhs. Notes Collation order is the dictionary order: t