Class template

A class template defines a family of classes. Syntax template < parameter-list > class-declaration (1) export template < parameter-list > class-declaration (2) (until C++11) Explanation class-declaration - a class declaration. The class name declared become a template name. parameter-list - a non-empty comma-separated list of the template parameters, each of which is either non-type parameter, a type parameter, a template parameter, or a parameter pack

Class declaration

Classes and structs are user-defined types, defined by class-specifier, which appears in decl-specifier-seq of the declaration syntax. The class specifier has the following syntax: class-key attr class-head-name base-clause { member-specification } class-key - one of class or struct. The keywords are identical except for the default member access and the default base class access. attr(C++11) - optional sequence of any number of attributes, may include alignas specifier c

class

Usage declaration of a class declaration of a scoped enumeration type (since C++11) In a template declaration, class can be used to introduce type template parameters and template template parameters If a function or a variable exists in scope with the name identical to the name of a class type, class can be prepended to the name for disambiguation, resulting in an elaborated type specifier Example class Foo; // forward declaration of a class class Bar { // definit

ciso646

This header was originally in the C standard library as <iso646.h>. Compatibility header, in C defines alternative operator representations which are keywords in C++. This means that in a conforming implementation this header is empty. It may still be required in order to have the alternative operator representations in old or non-conformant compilers.

cinttypes

This header was originally in the C standard library as <inttypes.h>. Provides conversions from C byte and wide strings to std::intmax_t and std::uintmax_t, overloads some math functions for std::intmax_t and provide C style input/output format macros for the types declared in <cstdint>. Includes <cstdint> Types imaxdiv_t (C++11) structure type, return of the std::imaxdiv function (typedef) Functions abs(std::intmax_t)imaxabs (C++11)(C++11) computes

chrono

This header is part of the date and time library. Classes Defined in namespace std::chrono duration (C++11) a time interval (class template) system_clock (C++11) wall clock time from the system-wide realtime clock (class) steady_clock (C++11) monotonic clock that will never be adjusted (class) high_resolution_clock (C++11) the clock with the shortest tick period available (class) time_point (C++11) a point in time (class template) treat_as_floating_poi

character literal

Syntax ' c-char ' (1) u8 ' c-char ' (2) (since C++17) u ' c-char ' (3) (since C++11) U ' c-char ' (4) (since C++11) L ' c-char ' (5) ' c-char-sequence ' (6) where. c-char is either a character from the basic source character set minus single-quote ('), backslash (\), or the newline character, escape sequence, as defined in escape sequences universal character name, as defined in escape sequences c-char-sequence is a sequence of two or more c-cha

char32_t

Usage char32_t type: as the declaration of the type (since C++11)

char16_t

Usage char16_t type: as the declaration of the type (since C++11)

char

Usage char type: as the declaration of the type