◐ Shell
clean mode source ↗

Type support (basic types, RTTI, type traits) — cppreference.com

Les types de base

Types fondamentaux définis par le langage

D'autres types de base et des macros

Defined in header <cstddef>

unsigned integer retournée par l'opérateur

sizeof

Original:

unsigned integer type returned by the

sizeof

operator

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(typedef) [edit]

type entier signé retourné lorsque la soustraction de deux pointeurs

Original:

signed integer type returned when subtracting two pointers

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(typedef) [edit]

(C++11)

le type de la

nullptr

pointeur null littéral

Original:

the type of the null pointer literal

nullptr

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(typedef) [edit]

définie par l'implémentation pointeur NULL constante

Original:

implementation-defined null pointer constant

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(constante macro) [edit]

(C++11)

Type de POD avec une exigence d'alignement aussi grand que n'importe quel autre type scalaire
(typedef) [edit]

décalage d'octet à partir du début d'un type standard à disposition élément spécifié

Original:

byte offset from the beginning of a standard-layout type to specified member

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction macro) [edit]

Defined in header <cstdbool>

__bool_true_false_are_defined

(C++11)

C Compatibilité constante macro, se développe pour 1 constante entière

Original:

C compatibility macro constant, expands to integer constant 1

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(constante macro)

Defined in header <cstdalign>

__alignas_is_defined

(C++11)

C Compatibilité constante macro, se développe pour 1 constante entière

Original:

C compatibility macro constant, expands to integer constant 1

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(constante macro)

Fixe les types entiers largeur (depuis C++11)

numeric_limits

Defined in header <limits>

fournit une interface pour les propriétés de la requête de tous les types fondamentaux numériques .

Original:

provides an interface to query properties of all fundamental numeric types.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

C numérique limite interface

L'identification du type d'exécution

contient un certain type d'informations, le produit par la implementation.
Il s'agit de la classe, retournée par l'opérateur typeid

Original:

contains some type's information, generated by the implementation.
This is the class, returned by the typeid operator

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe) [edit]

(C++11)

enveloppe autour d'un objet type_info, qui peut être utilisé comme index dans des récipients non ordonnée associatif et associatif

Original:

wrapper around a type_info object, that can be used as index in associative and unordered associative containers

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe) [edit]

Exception qui est levée si un argument dans un typeid expression est nulle

Original:

exception that is thrown if an argument in a typeid expression is null

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe) [edit]

Exception qui est levée par une expression

dynamic_cast

invalide, c'est à dire une distribution de type référence échoue

Original:

exception that is thrown by an invalid

dynamic_cast

expression, i.e. a cast of reference type fails

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe) [edit]

Caractères de NJ

Caractères de type définit une compilation basée sur un modèle d'interface pour interroger ou modifier les propriétés des types .

Original:

Type traits defines an compile-time template-based interface to query or modify the properties of types.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Les propriétés du type

Defined in header <type_traits>

Catégories de type primaire

Original:

Primary type categories

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(C++11)

vérifie si un type est void

Original:

checks if a type is void

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

vérifie si un type est de type intégral

Original:

checks if a type is integral type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

vérifie si un type est type à virgule flottante

Original:

checks if a type is floating-point type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

vérifie si un type est un type tableau

Original:

checks if a type is an array type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

vérifie si un type est un type d'énumération

Original:

checks if a type is an enumeration type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

vérifie si un type est un type d'union

Original:

checks if a type is an union type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

checks if a type is a class type (but not union type)
(classe générique) [edit]

(C++11)

vérifie si un type est un type de fonction

Original:

checks if a type is a function type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

vérifie si un type est un type pointeur

Original:

checks if a type is a pointer type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

vérifie si un type est' lvalue de référence

Original:

checks if a type is lvalue reference

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

vérifie si un type est' référence rvalue

Original:

checks if a type is rvalue reference

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

vérifie si un type est un pointeur vers un objet membre non statique

Original:

checks if a type is a pointer to a non-static member object

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

vérifie si un type est un pointeur vers une fonction membre non statique

Original:

checks if a type is a pointer to a non-static member function

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

Catégories de types composites

Original:

Composite type categories

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

vérifie si un type est le type fondamental

Original:

checks if a type is fundamental type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

vérifie si un type est de type arithmétique

Original:

checks if a type is arithmetic type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

vérifie si un type est de type scalaire

Original:

checks if a type is scalar type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

vérifie si un type est le type d'objet

Original:

checks if a type is object type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

vérifie si un type est de type composé

Original:

checks if a type is compound type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

vérifie si un type est soit lvalue de référence ou' rvalue de référence

Original:

checks if a type is either lvalue reference or rvalue reference

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

vérifie si un type est un pointeur vers une fonction membre non statique ou d'un objet

Original:

checks if a type is a pointer to a non-static member function or object

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

Les propriétés du type

Original:

Type properties

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(C++11)

vérifie si un type est const qualifié

Original:

checks if a type is const-qualified

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

vérifie si un type est volatile qualifié

Original:

checks if a type is volatile-qualified

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

vérifie si un type est trivial

Original:

checks if a type is trivial

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]
checks if a type is trivially copyable
(classe générique) [edit]

vérifie si un type est standard disposition type

Original:

checks if a type is standard-layout type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

vérifie si un type est un "plain-old data" (POD)

Original:

checks if a type is plain-old data (POD) type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]
checks if a type is literal type
(classe générique) [edit]

(C++11)

vérifie si un type est le type de classe (mais pas l'union) et n'a pas de données

Original:

checks if a type is class (but not union) type and has no data

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

vérifie si un type est le type de classe polymorphique

Original:

checks if a type is polymorphic class type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

vérifie si un type est le type de classe abstraite

Original:

checks if a type is abstract class type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

vérifie si un type est signée type arithmétique

Original:

checks if a type is signed arithmetic type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

vérifie si un type est le type arithmétique non signée

Original:

checks if a type is unsigned arithmetic type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

Opérations prises en charge

Original:

Supported operations

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

vérifie si un type a un constructeur pour les arguments spécifiques

Original:

checks if a type has a constructor for specific arguments

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

vérifie si un type a un constructeur par défaut

Original:

checks if a type has a default constructor

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

vérifie si un type a un constructeur de copie

Original:

checks if a type has a copy constructor

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

vérifie si un type a un constructeur déménagement

Original:

checks if a type has a move constructor

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

vérifie si un type a un opérateur d'affectation d'un argument spécifique

Original:

checks if a type has a assignment operator for a specific argument

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

vérifie si un type a un opérateur d'affectation de copie

Original:

checks if a type has a copy assignment operator

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

vérifie si un type a un opérateur d'affectation mouvement

Original:

checks if a type has a move assignment operator

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

vérifie si un type a un destructeur non supprimé

Original:

checks if a type has a non-deleted destructor

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

vérifie si un type a un destructeur virtuel

Original:

checks if a type has a virtual destructor

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

Les requêtes de propriété

Original:

Property queries

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

obtient les exigences d'alignement du type
(classe générique) [edit]

(C++11)

obtient le nombre de dimensions d'un type de tableau

Original:

obtains the number of dimensions of an array type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

obtient la taille d'un type de réseau le long d'une dimension spécifiée

Original:

obtains the size of an array type along a specified dimension

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

Relations de type

Original:

Type relationships

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(C++11)

vérifie si deux types sont les mêmes

Original:

checks if two types are the same

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

vérifie si un type est dérivé de l'autre type

Original:

checks if a type is derived from the other type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

vérifie si un type peut être converti en un autre type

Original:

checks if a type can be converted to the other type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

Modifications de type

Modèles de type de modification créer des définitions de types nouveaux en appliquant des modifications sur un paramètre de modèle. Le type qui en résulte peut alors être consultée à travers l'élément type typedef .

Original:

Type modification templates create new type definitions by applying modifications on a template parameter. The resulting type can then be accessed through type member typedef.

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Defined in header <type_traits>

Const-volatilité prescripteurs

Original:

Const-volatility specifiers

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

const supprime ou / et des spécificateurs volatile du type donné

Original:

removes const or/and volatile specifiers from the given type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)
(C++11)
(C++11)

ajoute const ou / et des spécificateurs volatile au type donné

Original:

adds const or/and volatile specifiers to the given type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

Références

Original:

References

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

supprime référence du type donné

Original:

removes reference from the given type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

ajoute lvalue ou' rvalue de référence pour le type donné

Original:

adds lvalue or rvalue reference to the given type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

Pointeurs

Original:

Pointers

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

supprime pointeur de type donné

Original:

removes pointer from the given type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

ajoute pointeur vers le type donné

Original:

adds pointer to the given type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

Inscription modificateurs

Original:

Sign modifiers

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(C++11)

rend le type de donnée intégrale signé

Original:

makes the given integral type signed

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

rend le type de donnée intégrale non signé

Original:

makes the given integral type unsigned

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

Les tableaux

Original:

Arrays

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

supprime une mesure du type tableau donné

Original:

removes one extent from the given array type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

supprime toutes les extensions du type tableau donné

Original:

removes all extents from the given array type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

Transformations diverses

Defined in header <type_traits>

définit le type approprié pour une utilisation comme stockage non initialisée pour les types de taille donnée

Original:

defines the type suitable for use as uninitialized storage for types of given size

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

définit le type approprié pour être utilisé comme stockage non initialisée pour tous les types de données

Original:

defines the type suitable for use as uninitialized storage for all given types

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

applique des transformations de type comme lors du passage d'un argument de fonction par valeur

Original:

applies type transformations as when passing a function argument by value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

cache une surcharge de fonction ou de spécialisation modèle basé sur la compilation booléen

Original:

hides a function overload or template specialization based on compile-time boolean

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

choisit un type ou d'une autre basée sur la compilation de type booléen

Original:

chooses one type or another based on compile-type boolean

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

deduces the result type of a mixed-mode arithmetic expression
(classe générique) [edit]

obtient le type sous-jacent entier pour un type d'énumération donnée

Original:

obtains the underlying integer type for a given enumeration type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

(C++11)

déduit le type de retour d'une expression d'appel de la fonction

Original:

deduces the return type of a function call expression

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

Classes d'aide

Defined in header <type_traits>

constante de compilation du type spécifié à la valeur spécifiée

Original:

compile-time constant of specified type with specified value

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique) [edit]

Deux spécialisations de std::integral_constant pour la bool type sont fournis:

Original:

Two specializations of std::integral_constant for the type bool are provided:

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Defined in header <type_traits>

Type d'

Original:

Type

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Definition
true_type std::integral_constant<bool, true>
false_type std::integral_constant<bool, false>