reinterpret_cast

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

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

register

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

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

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

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

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

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

RandomAccessIterator

A RandomAccessIterator is a BidirectionalIterator that can be moved to point to any element in constant time. A pointer to an element of an array satisfies all requirements of RandomAccessIterator. Requirements The type It satisfies RandomAccessIterator if. The type It satisfies BidirectionalIterator And, given. value_type, the type denoted by std::iterator_traits<It>::value_type difference_type, the type denoted by std::iterator_traits<It>::difference_type reference, the