decltype

Usage decltype specifier decltype(auto) (since C++14)

std::regex_iterator

template< class BidirIt, class CharT = typename std::iterator_traits<BidirIt>::value_type, class Traits = std::regex_traits<CharT> > class regex_iterator (since C++11) std::regex_iterator is a read-only ForwardIterator that accesses the individual matches of a regular expression within the underlying character sequence. On construction, and on every increment, it calls std::regex_search and remembers the result (that is, saves a copy of the value std::match

std::is_scalar

Defined in header <type_traits> template< class T > struct is_scalar; (since C++11) If T is a scalar type (that is, arithmetic type, enumeration type, pointer, pointer to member, or std::nullptr_t, including any cv-qualified variants), provides the member constant value equal true. For any other type, value is false. Template parameters T - a type to check Helper variable template template< class T > constexpr bool is_scalar_v = is_scalar<T&g

Conditional inclusion

The preprocessor supports conditional compilation of parts of source file. This behavior is controlled by #if, #else, #elif, #ifdef, #ifndef and #endif directives. Syntax #if expression #ifdef expression #ifndef expression #elif expression #else #endif Explanation The conditional preprocessing block starts with #if, #ifdef or #ifndef directive, then optionally includes any number of #elif directives, then optionally includes at most one #else directiv

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::poisson_distribution

Defined in header <random> template< class IntType = int > class poisson_distribution; (since C++11) Produces random non-negative integer values i, distributed according to discrete probability function: P(i|μ) = e-μ·μi i! The value obtained is the probability of exactly i occurrences of a random event if the expected, mean number of its occurrence under the same conditions (on the same time/space interval) is μ. std::poisson_distribution satisfies RandomNumberDist

std::fpos

Defined in header <ios> template< class State > class fpos; Specializations of the class template std::fpos identify absolute positions in a stream or in a file. Each object of type fpos holds the byte position in the stream (typically as a private member of type std::streamoff) and the current shift state, a value of type State (typically std::mbstate_t). The following specializations of std::fpos are provided: Type Definition streampos std::fpos<std::char_

std::basic_ostream::operator&lt;&lt;

basic_ostream& operator<<( short value ); basic_ostream& operator<<( unsigned short value ); (1) basic_ostream& operator<<( int value ); basic_ostream& operator<<( unsigned int value ); (2) basic_ostream& operator<<( long value ); basic_ostream& operator<<( unsigned long value ); (3) basic_ostream& operator<<( long long value ); basic_ostream& operator<<( unsigned long long value ); (4) (since