reinterpret_cast

Usage reinterpret_cast type conversion expression: as the declaration of the expression

Regular expressions library

Defined in header <regex> The regular expressions library provides a class that represents regular expressions, which are a kind of mini-language used to perform pattern matching within strings. Almost all operations with regexes can be characterized by operating on several of the following objects: Target sequence. The character sequence that is searched for a pattern. This may be a range specified by two iterators, a null-terminated character string or std::string. Pattern. This

register

Usage automatic storage duration specifier (deprecated). (until C++17) The keyword is unused and reserved. (since C++17)

regex

This header is part of the regular expressions library. Namespace std::regex_constants Types Defined in namespace std::regex_constants syntax_option_type (C++11) general options controlling regex behavior (typedef) match_flag_type (C++11) options specific to matching (typedef) error_type (C++11) describes different types of matching errors (typedef) Classes basic_regex (C++11) regular expression object (class template) sub_match (C++11) identif

reference initialization

Binds a reference to an object. Syntax T & ref = object ; T & ref = { arg1, arg2, ... }; T & ref ( object ) ; T & ref { arg1, arg2, ... } ; (1) T && ref = object ; T && ref = { arg1, arg2, ... }; T && ref ( object ) ; T && ref { arg1, arg2, ... } ; (2) (since C++11) given R fn ( T & arg ); or R fn ( T && arg ); fn ( object ). fn ( { arg1, arg2, ... } ). (3) given T & fn () { or T && fn () { retur

Reference declaration

Declares a named variable as a reference, that is, an alias to an already-existing object or function. Syntax A reference variable declaration is any simple declaration whose declarator has the form. & attr(optional) declarator (1) && attr(optional) declarator (2) (since C++11) 1) Lvalue reference declarator: the declaration S& D; declares D as an lvalue reference to the type determined by decl-specifier-seq S. 2) Rvalue reference declarator: the declaration S

ratio

This header is part of the compile-time rational arithmetic library. Classes ratio represents exact rational fraction (class template) Arithmetic ratio_add (C++11) adds two ratio objects at compile-time (alias template) ratio_subtract (C++11) subtracts two ratio objects at compile-time (alias template) ratio_multiply (C++11) multiplies two ratio objects at compile-time (alias template) ratio_divide (C++11) divides two ratio objects at compile-time (ali

Range-based for loop

Executes a for loop over a range. Used as a more readable equivalent to the traditional for loop operating over a range of values, such as all elements in a container. Syntax attr(optional) for ( range_declaration : range_expression ) loop_statement attr(C++11) - any number of attributes range_declaration - a declaration of a named variable, whose type is the type of the element of the sequence represented by range_expression, or a reference to that type. Often uses the a

RAND_MAX

Defined in header <cstdlib> #define RAND_MAX /*implementation defined*/ Expands to an integer constant expression equal to the maximum value returned by the function std::rand. This value is implementation dependent. It's guaranteed that this value is at least 32767. See also rand generates a pseudo-random number (function) srand seeds pseudo-random number generator (function) C documentation for RAND_MAX

RandomNumberDistribution

A RandomNumberDistribution is a function object returning random numbers according to a probability density function p(x) or a discrete probability distribution P(xi). Requirements D is a class meeting the RandomNumberDistribution requirements. It shall also satisfy the CopyConstructible and CopyAssignable requirements. T is the associated result_type. P is the associated param_type. It shall satisfy the CopyConstructible, CopyAssignable, and EqualityComparable requirements. It also h